From 4216b5da6746034a2c3aa6ffa062ddd99e2e3cf3 Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Tue, 20 Jun 2017 15:53:01 +0200 Subject: Fix Arctica Greeter preventing DE from applying cursor theme/size. See https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1024482 Arctica Greeter sets the mouse cursor on the root window. Without GKD_CORE_DEVICE_EVENTS set, the DE is unable to apply its own cursor theme and size. --- src/arctica-greeter.vala | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala index 0369eb7..a0f7824 100644 --- a/src/arctica-greeter.vala +++ b/src/arctica-greeter.vala @@ -595,6 +595,12 @@ public class ArcticaGreeter /* Set up the accessibility stack, in case the user needs it for screen reading etc. */ Environment.set_variable ("GTK_MODULES", "atk-bridge", false); + /* Fix for https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1024482 + Slick-greeter sets the mouse cursor on the root window. + Without GDK_CORE_DEVICE_EVENTS set, the DE is unable to apply its own cursor theme and size. + */ + GLib.Environment.set_variable ("GDK_CORE_DEVICE_EVENTS", "1", true); + Pid atspi_pid = 0; try -- cgit v1.2.3