From 7692afd23d73d567ae5f9345b0473d310d6f029c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 16 Jan 2017 10:03:15 +0100 Subject: only force x11 backend if under Wayland --- control-center | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1