forked from AuroraMiddleware/gtk
Try Wayland before X11
When both the Wayland and the X11 backends are built, prefer Wayland over X11 in the absence of other information. https://bugzilla.gnome.org/show_bug.cgi?id=705498
This commit is contained in:
parent
2cdc5d440a
commit
04d6d622d5
@ -267,12 +267,12 @@ static GdkBackend gdk_backends[] = {
|
||||
#ifdef GDK_WINDOWING_WIN32
|
||||
{ "win32", _gdk_win32_display_open },
|
||||
#endif
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
{ "x11", _gdk_x11_display_open },
|
||||
#endif
|
||||
#ifdef GDK_WINDOWING_WAYLAND
|
||||
{ "wayland", _gdk_wayland_display_open },
|
||||
#endif
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
{ "x11", _gdk_x11_display_open },
|
||||
#endif
|
||||
#ifdef GDK_WINDOWING_BROADWAY
|
||||
{ "broadway", _gdk_broadway_display_open },
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user