Move grab_all_keys to bindings.[ch]
Also add checks for binding input_type to filter bindings that are not keyboard bindings.
This commit is contained in:
committed by
Michael Stapelberg
parent
00909aa3b1
commit
48ec79ca02
@ -23,3 +23,9 @@ const char *DEFAULT_BINDING_MODE;
|
||||
*/
|
||||
Binding *configure_binding(const char *bindtype, const char *modifiers, const char *input_code,
|
||||
const char *release, const char *command, const char *mode);
|
||||
|
||||
/**
|
||||
* Grab the bound keys (tell X to send us keypress events for those keycodes)
|
||||
*
|
||||
*/
|
||||
void grab_all_keys(xcb_connection_t *conn, bool bind_mode_switch);
|
||||
|
Reference in New Issue
Block a user