windowPreview: Don't hide overlay while hovering icon
We should treat the icon like we do the caption or close button, and still consider the preview hovered when the pointer is over the icon. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3049>
This commit is contained in:
parent
2d34fbe2e7
commit
39d2988865
@ -577,6 +577,7 @@ export const WindowPreview = GObject.registerClass({
|
||||
GLib.PRIORITY_DEFAULT,
|
||||
WINDOW_OVERLAY_IDLE_HIDE_TIMEOUT, () => {
|
||||
if (this._closeButton['has-pointer'] ||
|
||||
this._icon['has-pointer'] ||
|
||||
this._title['has-pointer'])
|
||||
return GLib.SOURCE_CONTINUE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user