summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2018-11-23 16:00:53 -0600
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2018-11-23 16:00:53 -0600
commitfaf6b9d14c0ae47ecef3eb8c32ac818e521966b3 (patch)
tree34f35fa9d5d95ac158decef55a33b8e58fdbdafd
parenta019f1de381e52671f160ceb4a202f7fa02cef81 (diff)
downloadlibwnck-faf6b9d14c0ae47ecef3eb8c32ac818e521966b3.tar.gz
wnckprop: Force usage under X11 only
wnckprop can be used also in Wayland environments to manage XWayland windows, but in order to do this, we need to force the x11 backend to be used.
-rw-r--r--libwnck/wnckprop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libwnck/wnckprop.c b/libwnck/wnckprop.c
index 79b8693..9a0d3ab 100644
--- a/libwnck/wnckprop.c
+++ b/libwnck/wnckprop.c
@@ -1867,6 +1867,8 @@ main (int argc, char **argv)
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
+ gdk_set_allowed_backends ("x11");
+
ctxt = g_option_context_new (NULL);
g_option_context_set_translation_domain (ctxt, GETTEXT_PACKAGE);