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:
Tony Crisci
2014-02-14 18:38:01 -05:00
committed by Michael Stapelberg
parent 00909aa3b1
commit 48ec79ca02
4 changed files with 54 additions and 49 deletions

View File

@ -321,12 +321,6 @@ void translate_keysyms(void);
*/
void ungrab_all_keys(xcb_connection_t *conn);
/**
* 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);
/**
* Switches the key bindings to the given mode, if the mode exists
*