Bugfix: Correctly revert focus to other floating windows when closing a floating window
Uncovered by the testsuite \o/
This commit is contained in:
@ -70,8 +70,15 @@ void tree_next(char way, orientation_t orientation);
|
||||
* Returns true if the container was killed or false if just WM_DELETE was sent
|
||||
* and the window is expected to kill itself.
|
||||
*
|
||||
* The dont_kill_parent flag is specified when the function calls itself
|
||||
* recursively while deleting a containers children.
|
||||
*
|
||||
* The force_set_focus flag is specified in the case of killing a floating
|
||||
* window: tree_close() will be invoked for the CT_FLOATINGCON (the parent
|
||||
* container) and focus should be set there.
|
||||
*
|
||||
*/
|
||||
bool tree_close(Con *con, kill_window_t kill_window, bool dont_kill_parent);
|
||||
bool tree_close(Con *con, kill_window_t kill_window, bool dont_kill_parent, bool force_set_focus);
|
||||
|
||||
/**
|
||||
* Loads tree from ~/.i3/_restart.json (used for in-place restarts).
|
||||
|
Reference in New Issue
Block a user