Skip to content

Conversation

@whiskeyPeak
Copy link
Contributor

@whiskeyPeak whiskeyPeak commented Nov 20, 2025

The issue lies with if !self.layout.is_overview_open() && current_focus.window.as_ref() != Some(window) in niri.rs 6283. We queried the current PointContents with self.contents_under which ends up being the same as the new_focus var.
Following video shows the fix.

screenrecord.mp4

Fixes #2856

@YaLTeR
Copy link
Owner

YaLTeR commented Nov 21, 2025

This check is there intentionally. Focus follows mouse should only trigger when a pointer motion moves into a new window, not when it's moving inside an unfocused window, which this PR would change. Regarding your issue, I'll comment there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Focus not triggered after closing overview

2 participants