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

focus_follows_mouse always does not focus window under cursor after workspace change #8157

Open
mcelrath opened this issue May 10, 2024 · 0 comments
Labels
bug Not working as intended

Comments

@mcelrath
Copy link

I don't know if this is a regression, but my bug report would be identical to #3025. Today with Sway 1.9 and focus_follows_mouse always the behavior is as described in #3025.

This was evidently implemented in #3081.

man 5 sway says "the window under the cursor will always be focused, even after switching between workspaces". In 1.9, after switching workspaces, the focused window is the window last focused on that workspace, which can differ from the one under the cursor.

I found a workaround by manually moving the mouse using wlrctl

bindsym $mod+F1 workspace $ws1; exec "wlrctl pointer move 1; wlrctl pointer move -1"
@mcelrath mcelrath added the bug Not working as intended label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Development

No branches or pull requests

1 participant