Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions modules/widgets/overview/OverviewWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down