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:
parent
b16de0e374
commit
c81c564941
@ -690,6 +690,7 @@ Overview.prototype = {
|
|||||||
this._animateNotVisible();
|
this._animateNotVisible();
|
||||||
|
|
||||||
this._syncInputMode();
|
this._syncInputMode();
|
||||||
|
global.sync_pointer();
|
||||||
},
|
},
|
||||||
|
|
||||||
_hideDone: function() {
|
_hideDone: function() {
|
||||||
|
@ -394,12 +394,6 @@ WindowOverlay.prototype = {
|
|||||||
|
|
||||||
show: function() {
|
show: function() {
|
||||||
this._hidden = false;
|
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();
|
this.title.show();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user