Skip to content

Commit

Permalink
windowManager.js: When closing a minimized window, like from the window
Browse files Browse the repository at this point in the history
list applet, don't briefly show the window before it gets destroyed.
  • Loading branch information
mtwebster committed Apr 17, 2014
1 parent cb22b8e commit 99fa788
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/ui/windowManager.js
Expand Up @@ -774,12 +774,12 @@ WindowManager.prototype = {
});
return;
}
if (!this._shouldAnimate(actor)) {

if (!this._shouldAnimate(actor) || window.minimized) {
cinnamonwm.completed_destroy(actor);
return;
}

let transition = "easeInSine";
let effect = "scale";
let time = 0.25;
Expand Down

0 comments on commit 99fa788

Please sign in to comment.