From 16f0bee5a49f95aa47e1ab59010f79b62c07710b Mon Sep 17 00:00:00 2001 From: Anton Vorontsov Date: Tue, 16 Sep 2014 18:18:30 -0700 Subject: Locks: Implement event-driven locks indicator This commit does more fundamental rework of the "Locks" plug-in: now the plug-in is fully event-driven and thus extremely power-efficient, effectively zero CPU consumption while idling. --- src/Plugins/Kbd.hsc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Plugins/Kbd.hsc') diff --git a/src/Plugins/Kbd.hsc b/src/Plugins/Kbd.hsc index 241dde4..318effc 100644 --- a/src/Plugins/Kbd.hsc +++ b/src/Plugins/Kbd.hsc @@ -276,6 +276,9 @@ xkbUseCoreKbd = #const XkbUseCoreKbd xkbStateNotify :: CUInt xkbStateNotify = #const XkbStateNotify +xkbIndicatorStateNotify :: CUInt +xkbIndicatorStateNotify = #const XkbIndicatorStateNotify + xkbMapNotify :: CUInt xkbMapNotify = #const XkbMapNotify -- cgit v1.2.3