From 39d298886594eda8ecb3fe14e7a5ef7936a4e649 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: --- js/ui/windowPreview.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/windowPreview.js b/js/ui/windowPreview.js index 65e2a309e..d865e6e25 100644 --- a/js/ui/windowPreview.js +++ b/js/ui/windowPreview.js @@ -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;