/* 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) */