[gtk+/gtk-3-4] wayland: Prefer X11 backend over Wayland
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-4] wayland: Prefer X11 backend over Wayland
- Date: Mon, 16 Apr 2012 16:56:09 +0000 (UTC)
commit df69f49a44b2b60d8b7a498e59d876cc0775c11a
Author: Kristian HÃgsberg <krh bitplanet net>
Date: Tue Feb 7 09:08:48 2012 -0500
wayland: Prefer X11 backend over Wayland
https://bugzilla.gnome.org/show_bug.cgi?id=674102
gdk/gdkdisplaymanager.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gdk/gdkdisplaymanager.c b/gdk/gdkdisplaymanager.c
index 4334241..0a0ee85 100644
--- a/gdk/gdkdisplaymanager.c
+++ b/gdk/gdkdisplaymanager.c
@@ -244,16 +244,16 @@ gdk_display_manager_get (void)
manager = g_object_new (gdk_win32_display_manager_get_type (), NULL);
else
#endif
-#ifdef GDK_WINDOWING_WAYLAND
- if (backend == NULL || strcmp (backend, "wayland") == 0)
- manager = g_object_new (gdk_wayland_display_manager_get_type (), NULL);
- else
-#endif
#ifdef GDK_WINDOWING_X11
if (backend == NULL || strcmp (backend, "x11") == 0)
manager = g_object_new (gdk_x11_display_manager_get_type (), NULL);
else
#endif
+#ifdef GDK_WINDOWING_WAYLAND
+ if (backend == NULL || strcmp (backend, "wayland") == 0)
+ manager = g_object_new (gdk_wayland_display_manager_get_type (), NULL);
+ else
+#endif
#ifdef GDK_WINDOWING_BROADWAY
if (backend == NULL || strcmp (backend, "broadway") == 0)
manager = g_object_new (gdk_broadway_display_manager_get_type (), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]