mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
Improvements to gaps
This commit is contained in:
parent
446d593b4c
commit
cf916bbf6f
4 changed files with 24 additions and 21 deletions
|
|
@ -168,7 +168,11 @@ static bool handle_view_created(wlc_handle handle) {
|
|||
}
|
||||
if (newview) {
|
||||
set_focused_container(newview);
|
||||
arrange_windows(newview->parent, -1, -1);
|
||||
swayc_t *output = newview->parent;
|
||||
while (output && output->type != C_OUTPUT) {
|
||||
output = output->parent;
|
||||
}
|
||||
arrange_windows(output, -1, -1);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue