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) --- bin/net_applet | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') 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