diff options
author | 2016-07-21 22:47:35 +0300 | |
---|---|---|
committer | 2016-07-21 22:47:35 +0300 | |
commit | a2bc6f3bfd35c9785b8b3bb1a788587f298edef6 (patch) | |
tree | 3e36293102f4fae4fac864fced569de8717d73ea /sway/focus.c | |
parent | Merge pull request #776 from Hummer12007/window-events (diff) | |
download | sway-a2bc6f3bfd35c9785b8b3bb1a788587f298edef6.tar.gz sway-a2bc6f3bfd35c9785b8b3bb1a788587f298edef6.tar.zst sway-a2bc6f3bfd35c9785b8b3bb1a788587f298edef6.zip |
Arrange backgrounds only when required
Diffstat (limited to 'sway/focus.c')
-rw-r--r-- | sway/focus.c | 1 |
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) { | |||
158 | // rearrange if parent container is tabbed/stacked | 158 | // rearrange if parent container is tabbed/stacked |
159 | swayc_t *parent = swayc_tabbed_stacked_ancestor(p); | 159 | swayc_t *parent = swayc_tabbed_stacked_ancestor(p); |
160 | if (parent != NULL) { | 160 | if (parent != NULL) { |
161 | arrange_backgrounds(); | ||
161 | arrange_windows(parent, -1, -1); | 162 | arrange_windows(parent, -1, -1); |
162 | } | 163 | } |
163 | } else if (p->type == C_WORKSPACE) { | 164 | } else if (p->type == C_WORKSPACE) { |