Move translate_keysyms to bindings.[ch]
Additionally add a check so the function only handles bindings of type B_KEYBOARD to prepare for the new bindmouse feature.
This commit is contained in:
committed by
Michael Stapelberg
parent
9b03be644f
commit
c5df093f5d
@ -36,3 +36,9 @@ void grab_all_keys(xcb_connection_t *conn, bool bind_mode_switch);
|
||||
*
|
||||
*/
|
||||
Binding *get_keyboard_binding(uint16_t modifiers, bool key_release, xcb_keycode_t keycode);
|
||||
|
||||
/**
|
||||
* Translates keysymbols to keycodes for all bindings which use keysyms.
|
||||
*
|
||||
*/
|
||||
void translate_keysyms(void);
|
||||
|
Reference in New Issue
Block a user