Argument for 'kill' for killing a specific window (now default) or the whole client (+test)
Use 'kill window' to kill a specific window (for example only one specific popup), use 'kill client' to kill the whole application (or X11 connection to be specific).
This commit is contained in:
@ -56,7 +56,7 @@ void tree_render();
|
||||
* Closes the current container using tree_close().
|
||||
*
|
||||
*/
|
||||
void tree_close_con();
|
||||
void tree_close_con(kill_window_t kill_window);
|
||||
|
||||
/**
|
||||
* Changes focus in the given way (next/previous) and given orientation
|
||||
@ -71,7 +71,7 @@ void tree_next(char way, orientation_t orientation);
|
||||
* and the window is expected to kill itself.
|
||||
*
|
||||
*/
|
||||
bool tree_close(Con *con, bool kill_window, bool dont_kill_parent);
|
||||
bool tree_close(Con *con, kill_window_t kill_window, bool dont_kill_parent);
|
||||
|
||||
/**
|
||||
* Loads tree from ~/.i3/_restart.json (used for in-place restarts).
|
||||
|
Reference in New Issue
Block a user