sxhkd-rc

[fork] simple X hotkey daemon (but for the rc shell)
Log | Files | Refs | README | LICENSE

commit 520b1f121b9ef447c9525f812632d1e6558027ae
parent 615fdd0ca23dee3b95a48918b124d96e6e451ad2
Author: Bastien Dejean <nihilhill@gmail.com>
Date:   Mon, 20 Jan 2014 12:29:15 +0100

Cancel the timeout when entering a mode

Diffstat:
Mtypes.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/types.c b/types.c @@ -57,6 +57,8 @@ hotkey_t *find_hotkey(xcb_keysym_t keysym, xcb_button_t button, uint16_t modfiel *replay_event = true; if (!locked && c->state->lock_chain) { locked = true; + if (timeout > 0) + alarm(0); grab_chord(escape_chord); } if (c->state == c->tail) {