From a2bc6f3bfd35c9785b8b3bb1a788587f298edef6 Mon Sep 17 00:00:00 2001 From: Mykyta Holubakha Date: Thu, 21 Jul 2016 22:47:35 +0300 Subject: Arrange backgrounds only when required --- sway/focus.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/focus.c') 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) { -- cgit v1.2.3