diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-02-22 14:45:37 +0200 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-02-22 14:45:37 +0200 |
commit | 9254a4eb79278a6fd56d428f52a4a6a5755fc28f (patch) | |
tree | 6c26ee61ce2fa57addfcc3bb189c6203b6266f8a | |
parent | da6c4688e24cd0ba35230c284bba8a484f1f7fd6 (diff) | |
download | metacity-9254a4eb79278a6fd56d428f52a4a6a5755fc28f.tar.gz |
ui: set x11 as only allowed backend
https://bugzilla.gnome.org/show_bug.cgi?id=762445
-rw-r--r-- | src/ui/ui.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/ui.c b/src/ui/ui.c index cffb1f6b..ef22a4bb 100644 --- a/src/ui/ui.c +++ b/src/ui/ui.c @@ -63,6 +63,8 @@ meta_ui_init (int *argc, char ***argv) gdk_disable_multidevice (); #endif + gdk_set_allowed_backends ("x11"); + if (!gtk_init_check (argc, argv)) meta_fatal ("Unable to open X display %s\n", XDisplayName (NULL)); } |