edgeoverlays on-enter: only act on the target window

This commit is contained in:
Tor Hedin Brønner
2019-01-11 17:12:31 +01:00
parent 8deb96014e
commit d3e6e6ff61
+2 -2
View File
@@ -190,9 +190,9 @@ var StackOverlay = new Lang.Class({
let [x, y, mask] = global.get_pointer();
let actor = this.target.get_compositor_private();
let clone = new Clutter.Clone({source: actor});
let space = Tiling.spaces.spaceOfWindow(this.target);
// Remove any window clips, and show the metaWindow.clone's
space.startAnimate();
actor.remove_clip();
Tiling.animateWindow(this.target);
this.clone = clone;
clone.set_scale(0.15, 0.15);