mirror of
https://github.com/swaywm/sway.git
synced 2026-03-03 01:41:03 -05:00
Arrange backgrounds only when required
This commit is contained in:
parent
464239f7ac
commit
a2bc6f3bfd
4 changed files with 7 additions and 1 deletions
|
|
@ -308,6 +308,7 @@ bool workspace_switch(swayc_t *workspace) {
|
|||
return false;
|
||||
}
|
||||
swayc_t *output = swayc_parent_by_type(workspace, C_OUTPUT);
|
||||
arrange_backgrounds();
|
||||
arrange_windows(output, -1, -1);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue