diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2019-01-27 22:23:04 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2019-01-27 22:23:04 +0000 |
commit | 466de35cdd28fb18b5d3381d22ce11cf4556d718 (patch) | |
tree | e81c932b5807bf136bd91b6cad2e8f394098188f | |
parent | c9f4e9490fedaa8e964f5ebb5ea4c262b627cc02 (diff) | |
download | mgaonline-466de35cdd28fb18b5d3381d22ce11cf4556d718.tar mgaonline-466de35cdd28fb18b5d3381d22ce11cf4556d718.tar.gz mgaonline-466de35cdd28fb18b5d3381d22ce11cf4556d718.tar.bz2 mgaonline-466de35cdd28fb18b5d3381d22ce11cf4556d718.tar.xz mgaonline-466de35cdd28fb18b5d3381d22ce11cf4556d718.zip |
Force use of X11 backend when running on Wayland (mga#20680)
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | mgaapplet | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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 @@ -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); |