From 33a04b4a9b49a3cfbf068f6a63f84d3afdb36f5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Sat, 8 Dec 2018 15:11:27 +0100 Subject: [PATCH] Fix fullscreen reactivity The tween could prevent the window getting activated properly. --- tiling.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tiling.js b/tiling.js index 8c30c19..f47a961 100644 --- a/tiling.js +++ b/tiling.js @@ -1859,6 +1859,9 @@ function ensureViewport(meta_window, space, force) { time: 0.25, transition: 'easeInOutQuad', }); + // Hack to ensure a moveDone is called after the above tween is done + Tweener.addTween(space.cloneContainer, + {time: 0.25, onComplete: space.moveDone.bind(space)}); } move_to(space, meta_window, { x, y, force