Commit faf6b9d1 authored by Marco Trevisan's avatar Marco Trevisan 🎺

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.
parent a019f1de
Pipeline #42366 passed with stage
in 6 minutes and 9 seconds
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment