Substitute scratch windows with clones

This is necessary for events to pass through to the space.
This commit is contained in:
Tor Hedin Brønner
2020-12-05 20:36:19 +01:00
parent 87b6518851
commit 25fcdeaf29
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -93,6 +93,7 @@ var MoveGrab = class MoveGrab {
space.startAnimate();
// Make sure the window actor is visible
Tiling.animateWindow(metaWindow);
Navigator.getNavigator();
Tweener.removeTweens(space.cloneContainer);
}
+4
View File
@@ -211,6 +211,7 @@ var Navigator = class Navigator {
TopBar.fixTopBar();
Scratch.animateWindows();
this.space.startAnimate();
}
@@ -320,6 +321,9 @@ var Navigator = class Navigator {
}
}
if (!Tiling.inGrab)
Scratch.showWindows();
TopBar.fixTopBar();
Main.wm._blockAnimations = this._block;