Fix fullscreen reactivity

The tween could prevent the window getting activated properly.
This commit is contained in:
Tor Hedin Brønner
2018-12-08 16:16:40 +01:00
parent 3927af08c3
commit 33a04b4a9b
+3
View File
@@ -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