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

sessionLock: ensure sls focus in some edge cases #7647

Merged
merged 5 commits into from
Sep 4, 2024

Conversation

PaideiaDilemma
Copy link
Contributor

@PaideiaDilemma PaideiaDilemma commented Sep 4, 2024

Describe your PR, what does it fix/add?

Fixes hyprwm/hyprlock#460
Fixes #7391

Similar bad behaviour is easily reproduced with "sleep 5 && hyprlock" followed by a switch to another tty. When switching back, hyprlock has no focus and mouse needs to be moved to be able to type.

I think this can happen in some hypridle situations as well.

I also thought it would be a good idea to make the code path in mouseMoveUnified a bit more straight forward when the session is locked.

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

Please double check the reordering in mouseMoveUnified.

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

Ready.

@vaxerski vaxerski merged commit 027140b into hyprwm:main Sep 4, 2024
10 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.

Can't interact with hyprlock after login Cursor visible on hyprlock despite hide_cursor.
2 participants