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
This commit is contained in:
parent
a82c564a73
commit
e0d7d28c20
@ -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;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user