ensureViewport: remove pivot reset and onStart

These are no longer necessary
This commit is contained in:
Tor Hedin Brønner
2018-04-24 07:53:24 +02:00
parent 7dd2883830
commit fc72f92c1e
+1 -7
View File
@@ -765,13 +765,7 @@ function ensureViewport(meta_window, space, force) {
space.moving = meta_window;
move_to(space, meta_window,
{ x, y,
onComplete: () => {
space.moving = false;
// Certain gnome-shell/mutter animations expect default
// pivot point (eg. fullscreen)
meta_window.get_compositor_private().set_pivot_point(0, 0);
},
onStart:() => { meta_window.raise(); }
onComplete: () => space.moving = false,
});
// Return x so we can position the minimap
return x;