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

keybinds: fix mouse pass #6652

Merged
merged 2 commits into from
Jun 25, 2024
Merged

keybinds: fix mouse pass #6652

merged 2 commits into from
Jun 25, 2024

Conversation

Trimutex
Copy link
Contributor

Describe your PR, what does it fix/add?

Fixes mouse pass not refocusing active Wayland surface when passing to XWayland surface.

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

Couldn't find any reason for not using last surface for the mouse in old commits. Maybe I missed something I don't know about? Doesn't introduce any bugs from my testing.

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

Ready for merging

@vaxerski
Copy link
Member

the focus can be different. Probably better to track both at beginning. See g_pSeatManager->state

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 784c0b5 into hyprwm:main Jun 25, 2024
11 checks passed
@Trimutex Trimutex deleted the mouse-pass-fix branch June 27, 2024 03:19
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.

2 participants