mirror of
https://github.com/swaywm/sway.git
synced 2025-11-12 13:29:56 -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
|
|
@ -158,6 +158,7 @@ bool set_focused_container(swayc_t *c) {
|
|||
// rearrange if parent container is tabbed/stacked
|
||||
swayc_t *parent = swayc_tabbed_stacked_ancestor(p);
|
||||
if (parent != NULL) {
|
||||
arrange_backgrounds();
|
||||
arrange_windows(parent, -1, -1);
|
||||
}
|
||||
} else if (p->type == C_WORKSPACE) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue