summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center3
1 files changed, 2 insertions, 1 deletions
diff --git a/control-center b/control-center
index 4f130e06..69482038 100755
--- a/control-center
+++ b/control-center
@@ -21,7 +21,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
+# force gtk+3 to use the x11 backend, especially on wayland (mga#19498)
+# we rely on xwayland as It's also needed in order to have working GtkSocket/GtkPlug
BEGIN { $ENV{GDK_BACKEND} = 'x11' if exists $ENV{WAYLAND_DISPLAY} }
use strict;
use diagnostics;