Fix focus order in floating_disable for unfocused windows

Partially fixes issue #2938
This commit is contained in:
Orestis Floros
2017-09-13 03:54:40 +03:00
parent 60875c7bcb
commit 10a3c1e827
3 changed files with 23 additions and 37 deletions

View File

@ -17,3 +17,13 @@
*
*/
void tree_move(Con *con, int direction);
typedef enum { BEFORE,
AFTER } position_t;
/**
* This function detaches 'con' from its parent and inserts it either before or
* after 'target'.
*
*/
void insert_con_into(Con *con, Con *target, position_t position);