From fc72f92c1e7bfee2a29a79c20131f22f99b35cfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Tue, 24 Apr 2018 07:53:24 +0200 Subject: [PATCH] ensureViewport: remove pivot reset and onStart These are no longer necessary --- tiling.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tiling.js b/tiling.js index 97d2968..85f0f11 100644 --- a/tiling.js +++ b/tiling.js @@ -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;