Implement new 'sticky' command to manually set, remove or toggle the sticky state on a window.

This commit is contained in:
Ingo Bürk
2015-08-22 23:37:41 +02:00
parent 2c338b6ae2
commit 9866b00802
7 changed files with 85 additions and 1 deletions

View File

@ -204,6 +204,12 @@ void cmd_focus(I3_CMD);
*/
void cmd_fullscreen(I3_CMD, char *action, char *fullscreen_mode);
/**
* Implementation of 'sticky enable|disable|toggle'.
*
*/
void cmd_sticky(I3_CMD, char *action);
/**
* Implementation of 'move <direction> [<pixels> [px]]'.
*

View File

@ -68,6 +68,12 @@ void ewmh_update_client_list(xcb_window_t *list, int num_windows);
*/
void ewmh_update_client_list_stacking(xcb_window_t *stack, int num_windows);
/**
* Set or remove _NET_WM_STATE_STICKY on the window.
*
*/
void ewmh_update_sticky(xcb_window_t window, bool sticky);
/**
* Set up the EWMH hints on the root window.
*