From f45330e708c857da9f0d1ae1648b6dd9ebdaf80d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 10 Nov 2023 00:08:18 +0100 Subject: [PATCH] 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: (cherry picked from commit 39d298886594eda8ecb3fe14e7a5ef7936a4e649) --- js/ui/windowPreview.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/windowPreview.js b/js/ui/windowPreview.js index ab851c6a7..aa8734460 100644 --- a/js/ui/windowPreview.js +++ b/js/ui/windowPreview.js @@ -569,6 +569,7 @@ var 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;