overview: Don't pick for every overlay

Don't do an individual hover fixup for every window overlay, instead
just use the new global.sync_hover() to fix up hovers once we have
finished showing the overview.

Based on a patch from Adel Gadllah <adel.gadllah@gmail.com>

https://bugzilla.gnome.org/show_bug.cgi?id=638613
This commit is contained in:
Owen W. Taylor 2011-03-21 14:46:46 -04:00
parent b16de0e374
commit c81c564941
2 changed files with 1 additions and 6 deletions

View File

@ -690,6 +690,7 @@ Overview.prototype = {
this._animateNotVisible();
this._syncInputMode();
global.sync_pointer();
},
_hideDone: function() {

View File

@ -394,12 +394,6 @@ WindowOverlay.prototype = {
show: function() {
this._hidden = false;
let [x, y, mask] = global.get_pointer();
let actor = global.stage.get_actor_at_pos(Clutter.PickMode.REACTIVE,
x, y);
if (actor == this._windowClone.actor) {
this.closeButton.show();
}
this.title.show();
},