summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xmgaapplet1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 3aa45d38..d6a3bf77 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- force use of X11 backend when running on Wayland (mga#20680)
- mgaapplet-upgrade-helper: force use of Adwaita theme (mga#21425)
o prevents display issues if current theme (e.g. oxygen-gtk) is obsoleted
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);