From 3f8d78d6051293cb05178d648214c56f0df30133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Tue, 3 Oct 2017 01:28:34 +0200 Subject: [PATCH] Animate fullscreen windows fully out when previwing workspaces For some reason the gnome-shell code subtracts the panel height from the yDest, this will leave any fullscreen windows visible when moving up. --- liveAltTab.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liveAltTab.js b/liveAltTab.js index 9b9a6f3..f97ff42 100644 --- a/liveAltTab.js +++ b/liveAltTab.js @@ -19,11 +19,11 @@ WindowManager.WindowManager.prototype._previewWorkspace = function(from, to, dir if (direction == Meta.MotionDirection.UP || direction == Meta.MotionDirection.UP_LEFT || direction == Meta.MotionDirection.UP_RIGHT) - yDest = global.screen_height - Main.panel.actor.height; + yDest = global.screen_height; else if (direction == Meta.MotionDirection.DOWN || direction == Meta.MotionDirection.DOWN_LEFT || direction == Meta.MotionDirection.DOWN_RIGHT) - yDest = -global.screen_height + Main.panel.actor.height; + yDest = -global.screen_height; if (direction == Meta.MotionDirection.LEFT || direction == Meta.MotionDirection.UP_LEFT ||