From aefae99a117097a6953fdfd5492529f7a53b781b Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 19 Apr 2009 21:40:49 +0200 Subject: [PATCH] Bugfix: That should be xcb_keycode_t, not xcb_keysym_t --- src/xcb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) */ -- 2.39.5