summaryrefslogtreecommitdiffstats
path: root/mgaapplet
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2019-01-27 22:23:04 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2019-01-27 22:23:04 +0000
commit466de35cdd28fb18b5d3381d22ce11cf4556d718 (patch)
treee81c932b5807bf136bd91b6cad2e8f394098188f /mgaapplet
parentc9f4e9490fedaa8e964f5ebb5ea4c262b627cc02 (diff)
downloadmgaonline-466de35cdd28fb18b5d3381d22ce11cf4556d718.tar
mgaonline-466de35cdd28fb18b5d3381d22ce11cf4556d718.tar.gz
mgaonline-466de35cdd28fb18b5d3381d22ce11cf4556d718.tar.bz2
mgaonline-466de35cdd28fb18b5d3381d22ce11cf4556d718.tar.xz
mgaonline-466de35cdd28fb18b5d3381d22ce11cf4556d718.zip
Force use of X11 backend when running on Wayland (mga#20680)
Diffstat (limited to 'mgaapplet')
-rwxr-xr-xmgaapplet1
1 files changed, 1 insertions, 0 deletions
diff --git a/mgaapplet b/mgaapplet
index 48fca0d4..6b4c7330 100755
--- a/mgaapplet
+++ b/mgaapplet
@@ -30,6 +30,7 @@ use run_program;
use feature 'state';
BEGIN { unshift @::textdomains, 'mgaonline' }
+BEGIN { $ENV{GDK_BACKEND} = 'x11' if $ENV{WAYLAND_DISPLAY} }
use mygtk3 qw(gtknew); #- do not import gtkadd which conflicts with ugtk3 version
use ugtk3 qw(:all);