[nautilus/gnome-3-22] desktop: Force X11 backend



commit 94dcf03e5bc9cd1db83cf3016289e305e13694d4
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Dec 7 17:11:56 2016 +0100

    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

 nautilus-desktop/main-desktop.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/nautilus-desktop/main-desktop.c b/nautilus-desktop/main-desktop.c
index aa9c98d..57abeae 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 ();
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]