Move switch_mode to bindings.[ch]
This commit is contained in:
committed by
Michael Stapelberg
parent
05f0585817
commit
702906d0cf
@ -42,3 +42,9 @@ Binding *get_keyboard_binding(uint16_t modifiers, bool key_release, xcb_keycode_
|
||||
*
|
||||
*/
|
||||
void translate_keysyms(void);
|
||||
|
||||
/**
|
||||
* Switches the key bindings to the given mode, if the mode exists
|
||||
*
|
||||
*/
|
||||
void switch_mode(const char *new_mode);
|
||||
|
@ -315,12 +315,6 @@ void load_configuration(xcb_connection_t *conn, const char *override_configfile,
|
||||
*/
|
||||
void ungrab_all_keys(xcb_connection_t *conn);
|
||||
|
||||
/**
|
||||
* Switches the key bindings to the given mode, if the mode exists
|
||||
*
|
||||
*/
|
||||
void switch_mode(const char *new_mode);
|
||||
|
||||
/**
|
||||
* Sends the current bar configuration as an event to all barconfig_update listeners.
|
||||
* This update mechnism currently only includes the hidden_state and the mode in the config.
|
||||
|
Reference in New Issue
Block a user