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

Don't simulate mouse movement on focus change in follow_mouse = 2/3 if no_warps is false #7015

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

antonok-edm
Copy link
Contributor

Describe your PR, what does it fix/add?

Fixes #4949

(Technically, it looks like the original issue was fixed already in 7ea555da7, but the case described in my comment is still broken and will be fixed by this PR).

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

I've tested all combinations of input:follow_mouse and cursor:no_warps; the behavior in this PR seems more consistent with how they're described in all cases.

Is it ready for merging, or does it need work?

Ready as far as I'm aware.

vaxerski
vaxerski previously approved these changes Jul 24, 2024
Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it works, it's fine

@vaxerski
Copy link
Member

ah clang-format missing lole

@leiserfg
Copy link
Contributor

@vaxerski would you like a GitHub-action that automatically runs clang-format and makes a commit in the pr (happens every time the pr is updated)?

@vaxerski
Copy link
Member

no

@antonok-edm
Copy link
Contributor Author

clang-formatted

vaxerski
vaxerski previously approved these changes Jul 24, 2024
Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@vaxerski vaxerski merged commit 391f1ae into hyprwm:main Jul 24, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using focuswindow with follow_mouse=2 will warp cusor but not cursor focus.
3 participants