From 1f15abeb1c34838156f4ba242dff68057073658b Mon Sep 17 00:00:00 2001 From: Glys Date: Wed, 11 Mar 2026 01:51:54 +0100 Subject: [PATCH] Remove focus on hover current workspace in overview Removed focus when hovering windows that are in current workspace. This should remove the sudden jump of the mouse that happened there. --- modules/widgets/overview/OverviewWindow.qml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/modules/widgets/overview/OverviewWindow.qml b/modules/widgets/overview/OverviewWindow.qml index de205a60..53153572 100644 --- a/modules/widgets/overview/OverviewWindow.qml +++ b/modules/widgets/overview/OverviewWindow.qml @@ -250,17 +250,6 @@ Item { onEntered: { root.hovered = true; - // Only focus window on hover if it's in the current workspace - if (root.windowData) { - // Get current active workspace from Hyprland - let currentWorkspace = Hyprland.focusedMonitor?.activeWorkspace?.id; - let windowWorkspace = root.windowData?.workspace?.id; - - // Only focus if the window is in the current workspace - if (currentWorkspace && windowWorkspace && currentWorkspace === windowWorkspace) { - Hyprland.dispatch(`focuswindow address:${windowData.address}`); - } - } } onExited: root.hovered = false