Move get_mod_mask to libi3, use it in i3 and i3-config-wizard
Also, the API changed a bit. There are two functions now, both assume you already got the keysyms (which is the case for i3 and i3-config-wizard), one gets the modifier mapping for you (aio_get_mod_mask_for) while the other assumes you also got that. No roundtrips are required for the latter.
This commit is contained in:
@ -97,13 +97,6 @@ void fake_absolute_configure_notify(Con *con);
|
||||
*/
|
||||
void send_take_focus(xcb_window_t window);
|
||||
|
||||
/**
|
||||
* Finds out which modifier mask is the one for numlock, as the user may
|
||||
* change this.
|
||||
*
|
||||
*/
|
||||
void xcb_get_numlock_mask(xcb_connection_t *conn);
|
||||
|
||||
/**
|
||||
* Raises the given window (typically client->frame) above all other windows
|
||||
*
|
||||
|
Reference in New Issue
Block a user