Implement 'swap' command.
This patch introduces a new command 'swap' that swaps two containers so that they assume each other's position and geometry. fixes #917
This commit is contained in:
5
src/x.c
5
src/x.c
@ -904,8 +904,9 @@ void x_push_node(Con *con) {
|
||||
/* Handle all children and floating windows of this node. We recurse
|
||||
* in focus order to display the focused client in a stack first when
|
||||
* switching workspaces (reduces flickering). */
|
||||
TAILQ_FOREACH(current, &(con->focus_head), focused)
|
||||
x_push_node(current);
|
||||
TAILQ_FOREACH(current, &(con->focus_head), focused) {
|
||||
x_push_node(current);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user