From 17c6dcd34dfd6e1481a9edcffdccf1abded0ddf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Sun, 2 Sep 2018 03:50:23 +0200 Subject: [PATCH] Never show window actors if the space isn't at y = 0 --- tiling.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tiling.js b/tiling.js index db93bb8..1118243 100644 --- a/tiling.js +++ b/tiling.js @@ -536,9 +536,10 @@ class Space extends Array { } moveDone() { - if (this.cloneContainer.x !== this.targetX - || Navigator.navigating || inPreview || noAnimate - || Main.overview.visible) { + if (this.cloneContainer.x !== this.targetX || + this.actor.y !== 0 || + Navigator.navigating || inPreview || noAnimate || + Main.overview.visible) { return; } this.visible = []; @@ -1249,6 +1250,7 @@ class Spaces extends Map { onComplete: () => { // Meta.enable_unredirect_for_screen(screen); + to.moveDone(); to.clip.raise_top(); callback && callback(); }