mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 09:51:29 +00:00
Merge pull request #834 from Hummer12007/swapfix
Arrange windows after swapping containers
This commit is contained in:
commit
76e5dffeaa
|
@ -424,6 +424,8 @@ void pointer_mode_update(void) {
|
||||||
update_geometry(initial.ptr);
|
update_geometry(initial.ptr);
|
||||||
// Set focus back to initial view
|
// Set focus back to initial view
|
||||||
set_focused_container(initial.ptr);
|
set_focused_container(initial.ptr);
|
||||||
|
// Arrange the windows
|
||||||
|
arrange_windows(&root_container, -1, -1);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue