commit 3ad4b20ef9d71a3f1514c2f106959ed416b45734 parent a8130d47e507aaebdad763abaf8b10ad6e6e5bcf Author: Bastien Dejean <nihilhill@gmail.com> Date: Thu, 4 Jul 2013 10:17:16 +0200 Only replay events when asked Diffstat:
M | types.c | | | 8 | -------- |
1 file changed, 0 insertions(+), 8 deletions(-)
diff --git a/types.c b/types.c @@ -48,14 +48,6 @@ hotkey_t *find_hotkey(xcb_keysym_t keysym, xcb_button_t button, uint16_t modfiel chained = true; if (timeout > 0) alarm(timeout); - } else { - *replay_event = true; - for (hotkey_t *hk = hotkeys; *replay_event && hk != NULL; hk = hk->next) { - chord_t *c = hk->chain->head; - for (chord_t *cc = c; cc != NULL; cc = cc->more) - if (cc->keysym == keysym && cc->button == button && cc->modfield == modfield) - *replay_event = false; - } } } else if (num_active == 0) { abort_chain();