diff options
author | 2016-01-05 02:20:20 +0100 | |
---|---|---|
committer | 2016-01-05 02:25:56 +0100 | |
commit | c20c63b677c03b17441f0d135b5325e23d65f38d (patch) | |
tree | e16dde2339d7cb1079a83842c53324ac91fed600 /common/log.c | |
parent | Detect bar modifier pressed/released (diff) | |
download | sway-c20c63b677c03b17441f0d135b5325e23d65f38d.tar.gz sway-c20c63b677c03b17441f0d135b5325e23d65f38d.tar.zst sway-c20c63b677c03b17441f0d135b5325e23d65f38d.zip |
Send IPC modifier event on bar_modifier up/down
Detects when a bar modifier key is pressed/released and sends a modifier
IPC event to any listeners (usually swaybars).
This way a swaybar can listen on the modifier event and hide/show the
bar accordingly (not implemented yet)
The modifier event looks like this:
{
"change": "pressed", // or released
"modifier": "Mod4"
}
Diffstat (limited to 'common/log.c')
0 files changed, 0 insertions, 0 deletions