Fix disappearing close button
Show the close button after zooming a window in the overview when the window clone has the pointer focus. https://bugzilla.gnome.org/show_bug.cgi?id=602772
This commit is contained in:
parent
1d2dc09ede
commit
f0e3b87330
@ -367,6 +367,12 @@ WindowOverlay.prototype = {
|
||||
},
|
||||
|
||||
show: function() {
|
||||
let [child, x, y, mask] = Gdk.Screen.get_default().get_root_window().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();
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user