summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-01-16 10:03:15 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-01-16 10:03:15 +0100
commit7692afd23d73d567ae5f9345b0473d310d6f029c (patch)
treec153176ca6bb323b501d705c11a409c9b2676aa4
parent098f32fbd3f51585c81195bd98b47fef93035906 (diff)
downloadcontrol-center-7692afd23d73d567ae5f9345b0473d310d6f029c.tar
control-center-7692afd23d73d567ae5f9345b0473d310d6f029c.tar.gz
control-center-7692afd23d73d567ae5f9345b0473d310d6f029c.tar.bz2
control-center-7692afd23d73d567ae5f9345b0473d310d6f029c.tar.xz
control-center-7692afd23d73d567ae5f9345b0473d310d6f029c.zip
only force x11 backend if under Wayland
-rwxr-xr-xcontrol-center2
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center
index a011dba5..4f130e06 100755
--- a/control-center
+++ b/control-center
@@ -22,7 +22,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-BEGIN { $ENV{GDK_BACKEND} = 'x11' }
+BEGIN { $ENV{GDK_BACKEND} = 'x11' if exists $ENV{WAYLAND_DISPLAY} }
use strict;
use diagnostics;
use lib qw(/usr/lib/libDrakX);