Bugfix: Keep focus on the current workspace when moving containers, add testcase

This commit is contained in:
Michael Stapelberg
2010-07-17 13:27:34 +02:00
parent 49add4f3e4
commit 099df7f438
4 changed files with 96 additions and 17 deletions

View File

@ -121,4 +121,12 @@ void con_move_to_workspace(Con *con, Con *workspace);
*/
int con_orientation(Con *con);
/**
* Returns the container which will be focused next when the given container
* is not available anymore. Called in tree_close and con_move_to_workspace
* to properly restore focus.
*
*/
Con *con_next_focused(Con *con);
#endif