summaryrefslogtreecommitdiff
path: root/nautilus-desktop
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2016-12-07 17:11:56 +0100
committerFlorian Müllner <fmuellner@gnome.org>2016-12-08 15:01:21 +0100
commit2ce163549e5f3bb9f3c735c6edf2d2ee174ff143 (patch)
treebdf08348f3050ca99de5e0cc176459604df2a3f4 /nautilus-desktop
parentfdf2bb9245c619311c0e2a214237446cbb37461d (diff)
downloadnautilus-2ce163549e5f3bb9f3c735c6edf2d2ee174ff143.tar.gz
desktop: Force X11 backend
At least for the time being, desktop icons are not supported on wayland. This may or may not change, but in the meantime we can still meet user expectations by forcing the supported backend instead of failing with an unsupported one. https://bugzilla.gnome.org/show_bug.cgi?id=748347
Diffstat (limited to 'nautilus-desktop')
-rw-r--r--nautilus-desktop/main-desktop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nautilus-desktop/main-desktop.c b/nautilus-desktop/main-desktop.c
index aa9c98d86..57abeae8a 100644
--- a/nautilus-desktop/main-desktop.c
+++ b/nautilus-desktop/main-desktop.c
@@ -27,6 +27,8 @@ main (int argc,
g_set_prgname ("nautilus-desktop");
+ gdk_set_allowed_backends ("x11");
+
nautilus_register_resource ();
application = nautilus_desktop_application_new ();