aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Lefebvre <clement.lefebvre@linuxmint.com>2017-06-20 15:53:01 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-20 15:53:01 +0200
commit4216b5da6746034a2c3aa6ffa062ddd99e2e3cf3 (patch)
treed5e1f835f6085679b8e3f8a7a8ef97b5d0e53cf8
parent31ce82f151b564532211e05e97ffaf1db02abdcd (diff)
downloadarctica-greeter-4216b5da6746034a2c3aa6ffa062ddd99e2e3cf3.tar.gz
arctica-greeter-4216b5da6746034a2c3aa6ffa062ddd99e2e3cf3.tar.bz2
arctica-greeter-4216b5da6746034a2c3aa6ffa062ddd99e2e3cf3.zip
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.
-rw-r--r--src/arctica-greeter.vala6
1 files changed, 6 insertions, 0 deletions
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