From 8b60b5f47f7b4088efa833654a013aa307b7054c Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Mon, 28 Jan 2019 20:25:03 +0000 Subject: Force use of X11 backend when running on Wayland (mga#20680) --- NEWS | 1 + bin/net_applet | 1 + 2 files changed, 2 insertions(+) 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; -- cgit v1.2.1