From 2e02918323937dceeb63df9533a2b272619c408e Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 27 Mar 2011 14:25:24 -0400 Subject: [PATCH] WindowOverlay: Show close button after an animation If a user is fast and mouses over a window while the workspace thumbnail animations are playing, it can be frustrating when the close button won't appear at the end of the animation. https://bugzilla.gnome.org/show_bug.cgi?id=645848 --- js/ui/workspace.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/workspace.js b/js/ui/workspace.js index 2d487660e..728eaa5f0 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -394,6 +394,8 @@ WindowOverlay.prototype = { show: function() { this._hidden = false; + if (this._windowClone.actor.has_pointer) + this.closeButton.show(); this.title.show(); },