aboutsummaryrefslogtreecommitdiff
path: root/sway/focus.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-07-21 15:57:00 -0400
committerGitHub <noreply@github.com>2016-07-21 15:57:00 -0400
commitf181bf9c542ccb0478f653bbab76f60ac198a800 (patch)
tree3e36293102f4fae4fac864fced569de8717d73ea /sway/focus.c
parent464239f7ac11d32a6f10b8517b8410a2eb9b493a (diff)
parenta2bc6f3bfd35c9785b8b3bb1a788587f298edef6 (diff)
Merge pull request #777 from Hummer12007/bg-arng
Arrange backgrounds only when required
Diffstat (limited to 'sway/focus.c')
-rw-r--r--sway/focus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/focus.c b/sway/focus.c
index 97fa4b98..9974ba6a 100644
--- a/sway/focus.c
+++ b/sway/focus.c
@@ -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) {