summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xbin/net_applet1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 52969bb..2073912 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- force use of X11 backend when running on Wayland (mga#20680)
- drakfirewall: drop references to nonexistant mydsn, udhcpd, imap,
courier-imap-pop, bittorrent (mga#23357)
diff --git a/bin/net_applet b/bin/net_applet
index cf82de8..aff7561 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -6,6 +6,7 @@ use POSIX qw(:signal_h :sys_wait_h);
use lib qw(/usr/lib/libDrakX);
# i18n: IMPORTANT: to get correct namespace (drakx-net instead of libDrakX)
BEGIN { unshift @::textdomains, 'drakx-net' }
+BEGIN { $ENV{GDK_BACKEND} = 'x11' if $ENV{WAYLAND_DISPLAY} }
use c;
use common;
use standalone;