Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

center-focused-column always with f-f-m causes runaway #377

Open
gregzuro opened this issue May 22, 2024 · 1 comment
Open

center-focused-column always with f-f-m causes runaway #377

gregzuro opened this issue May 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@gregzuro
Copy link

With center-focused-always, warp-mouse-to-focus, and focus-follows-mouse all active, moving the mouse to the right or left of the screen will cause the strip to move all the way to the end or start of the strip.

Seems like updating the mouse position after each column shift would fix it?

System Information

  • niri version: niri unstable 2024-05-21 (commit efb39e4)
  • Distro: nixos
  • GPU: AMD
  • CPU: Intel...
@gregzuro gregzuro added the bug Something isn't working label May 22, 2024
@YaLTeR
Copy link
Owner

YaLTeR commented May 22, 2024

Hmm, I see what's happening here. The mouse focus is (intentionally) not updated during animations, so when a window is in process of sliding under the cursor and you move it, it recognizes as moving the cursor over this new window. I'll try adding an extra focus update to the focus-follows-mouse logic.

@YaLTeR YaLTeR changed the title center-focused-always with f-f-m *and* w-m-t-f causes runaway center-focused-always with f-f-m causes runaway May 22, 2024
@gregzuro gregzuro changed the title center-focused-always with f-f-m causes runaway center-focused-column always with f-f-m causes runaway May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants