Arrange backgrounds only when required

This commit is contained in:
Mykyta Holubakha 2016-07-21 22:47:35 +03:00
parent 464239f7ac
commit a2bc6f3bfd
4 changed files with 7 additions and 1 deletions

View file

@ -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) {