From 2ba2f645661726e3945df55db58cafd14b604b4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Tue, 20 Feb 2018 07:25:48 +0100 Subject: [PATCH] Reset leftOverlay when all windows are visible --- tiling.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tiling.js b/tiling.js index f86236a..2dc2bbd 100644 --- a/tiling.js +++ b/tiling.js @@ -455,6 +455,7 @@ function ensure_viewport(space, meta_window, force) { let extra_gap = Math.floor(leftovers/gaps); debug('#extragap', extra_gap); propogate_forward(space, 0, extra_gap, extra_gap + window_gap); + propogate_backward(space, -1); return; } else if (index == 0) { // Always align the first window to the display's left edge