sxhkd-rc

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

commit 6f0985b4ec47db93b4bfce63f2ac87c305da2465
parent 807917d960210409f31c02d82b950af1eea2f95c
Author: Bastien Dejean <nihilhill@gmail.com>
Date:   Mon,  7 Jan 2013 20:30:32 +0100

The case lockfield = 0 is covered by the loop

Diffstat:
Mkeys.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/keys.c b/keys.c @@ -2362,7 +2362,6 @@ void grab(void) void grab_key_button(xcb_keycode_t keycode, xcb_button_t button, uint16_t modfield) { - grab_key_button_checked(keycode, button, modfield); for (uint8_t i = 0; i < 8; i++) { uint16_t lockfield = (i & 1 ? num_lock : 0) | (i & 2 ? caps_lock : 0) | (i & 4 ? scroll_lock : 0); grab_key_button_checked(keycode, button, modfield | lockfield);