From: Michael Stapelberg Date: Sun, 19 Apr 2009 19:40:49 +0000 (+0200) Subject: Bugfix: That should be xcb_keycode_t, not xcb_keysym_t X-Git-Tag: 3.a-bf1~29 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aefae99a117097a6953fdfd5492529f7a53b781b;p=i3%2Fi3 Bugfix: That should be xcb_keycode_t, not xcb_keysym_t --- diff --git a/src/xcb.c b/src/xcb.c index 0daf4b42..708e1ead 100644 --- a/src/xcb.c +++ b/src/xcb.c @@ -262,11 +262,11 @@ void xcb_get_numlock_mask(xcb_connection_t *conn) { /* Get the keycode for numlock */ #ifdef OLD_XCB_KEYSYMS_API - xcb_keysym_t numlock = xcb_key_symbols_get_keycode(keysyms, XCB_NUM_LOCK); + xcb_keycode_t numlock = xcb_key_symbols_get_keycode(keysyms, XCB_NUM_LOCK); #else /* For now, we only use the first keysymbol. */ - xcb_keysym_t *numlock_syms = xcb_key_symbols_get_keycode(keysyms, XCB_NUM_LOCK); - xcb_keysym_t numlock = *numlock_syms; + xcb_keycode_t *numlock_syms = xcb_key_symbols_get_keycode(keysyms, XCB_NUM_LOCK); + xcb_keycode_t numlock = *numlock_syms; #endif /* Check all modifiers (Mod1-Mod5, Shift, Control, Lock) */