summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagn@redhat.com>2013-08-19 13:01:55 +0200
committerGiovanni Campagna <gcampagn@redhat.com>2013-08-19 15:42:37 +0200
commit4fd3c63da9b68b47ad74534e2fec18399657e03a (patch)
treed6bb5fce244206993d9347f404152982a28fae26
parentbfc87d13cb0e101ffc351e535a3565a97f2282b5 (diff)
downloadmutter-4fd3c63da9b68b47ad74534e2fec18399657e03a.tar.gz
ui: restrict gtk to only use the x11 backend
We use GTK as a way to get the X11 connection for our internal use, so we need it to keep using X. https://bugzilla.gnome.org/show_bug.cgi?id=706303
-rw-r--r--src/ui/ui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/ui.c b/src/ui/ui.c
index fc6fb4dc2..ed2c66d13 100644
--- a/src/ui/ui.c
+++ b/src/ui/ui.c
@@ -56,6 +56,8 @@ struct _MetaUI
void
meta_ui_init (void)
{
+ gdk_set_allowed_backends ("x11");
+
if (!gtk_init_check (NULL, NULL))
meta_fatal ("Unable to open X display %s\n", XDisplayName (NULL));
}