Skip to content

Commit

Permalink
Update the minimize/activate logic, now acts like the classic windows…
Browse files Browse the repository at this point in the history
… list.
  • Loading branch information
Antonio Hernández committed Oct 25, 2011
1 parent e85e5c0 commit b58a600
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions gnome-shell-windowslist@emergya.com/extension.js
Expand Up @@ -162,10 +162,11 @@ AppMenuButtonAlt.prototype = {
},

_itemActivated: function(window) {
if (!window.minimized)
window.minimize();
else
if (!window.has_focus()) {
Main.activateWindow(window);
} else {
window.minimize();
}
},

/**
Expand Down

0 comments on commit b58a600

Please sign in to comment.