summaryrefslogtreecommitdiff
path: root/gdk/gdkdisplaymanager.c
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2017-03-10 10:50:23 -0500
committerWilliam Hua <william.hua@canonical.com>2017-03-12 22:40:04 -0400
commit0c1cbcfe6012a19b5b830871d267502f5d001e38 (patch)
treecebc5f50c23d3184e448f722a54a073d0d73335b /gdk/gdkdisplaymanager.c
parenta1eb3cb2e9a62cd77ab829ae89edf0f4be5f93f5 (diff)
downloadgtk+-0c1cbcfe6012a19b5b830871d267502f5d001e38.tar.gz
mir: try mir before x11
Diffstat (limited to 'gdk/gdkdisplaymanager.c')
-rw-r--r--gdk/gdkdisplaymanager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk/gdkdisplaymanager.c b/gdk/gdkdisplaymanager.c
index 2950d80520..2bd670f399 100644
--- a/gdk/gdkdisplaymanager.c
+++ b/gdk/gdkdisplaymanager.c
@@ -272,12 +272,12 @@ static GdkBackend gdk_backends[] = {
#ifdef GDK_WINDOWING_WAYLAND
{ "wayland", _gdk_wayland_display_open },
#endif
+#ifdef GDK_WINDOWING_MIR
+ { "mir", _gdk_mir_display_open },
+#endif
#ifdef GDK_WINDOWING_X11
{ "x11", _gdk_x11_display_open },
#endif
-#ifdef GDK_WINDOWING_MIR
- { "mir", _gdk_mir_display_open },
-#endif
#ifdef GDK_WINDOWING_BROADWAY
{ "broadway", _gdk_broadway_display_open },
#endif