From e0d7d28c20be69e35334b22eab5f349641f2328f Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 25 Jan 2017 17:42:49 +0100 Subject: [PATCH] windowManager: Avoid fullscreen animation if the window has no texture There is hardly anything to animate, so just avoid the animation in this case. https://bugzilla.gnome.org/show_bug.cgi?id=777784 --- js/ui/windowManager.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index 551c3358c..7fe4ac3a2 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -1082,6 +1082,9 @@ const WindowManager = new Lang.Class({ if (!this._shouldAnimate()) return false; + if (!actor.get_texture()) + return false; + let type = actor.meta_window.get_window_type(); return types.indexOf(type) >= 0; },