diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2019-01-28 20:25:03 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2019-01-28 22:08:07 +0000 |
commit | 8b60b5f47f7b4088efa833654a013aa307b7054c (patch) | |
tree | cb11794e3fa366fda29ebce1d9dc40196d7168f4 /bin/net_applet | |
parent | 850e0ad37513d04cbc2b52971def2446da63d44c (diff) | |
download | drakx-net-8b60b5f47f7b4088efa833654a013aa307b7054c.tar drakx-net-8b60b5f47f7b4088efa833654a013aa307b7054c.tar.gz drakx-net-8b60b5f47f7b4088efa833654a013aa307b7054c.tar.bz2 drakx-net-8b60b5f47f7b4088efa833654a013aa307b7054c.tar.xz drakx-net-8b60b5f47f7b4088efa833654a013aa307b7054c.zip |
Force use of X11 backend when running on Wayland (mga#20680)
Diffstat (limited to 'bin/net_applet')
-rwxr-xr-x | bin/net_applet | 1 |
1 files changed, 1 insertions, 0 deletions
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; |