diff options
author | Anton Vorontsov <anton@enomsg.org> | 2014-09-16 18:18:30 -0700 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2014-09-16 20:20:11 -0700 |
commit | 16f0bee5a49f95aa47e1ab59010f79b62c07710b (patch) | |
tree | 98ac768d2d38cad3077b9f3baa130c666c7ab25a /src/Plugins/Kbd.hsc | |
parent | 73053ddf3386604f19b494afd9c234ac50427d6c (diff) | |
download | xmobar-16f0bee5a49f95aa47e1ab59010f79b62c07710b.tar.gz xmobar-16f0bee5a49f95aa47e1ab59010f79b62c07710b.tar.bz2 |
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.
Diffstat (limited to 'src/Plugins/Kbd.hsc')
-rw-r--r-- | src/Plugins/Kbd.hsc | 3 |
1 files changed, 3 insertions, 0 deletions
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 |