Skip to content

swipe: fix workspace swipe not rendering last frame if target ws is on edge #11184

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

Merged
merged 1 commit into from
Jul 23, 2025

Conversation

C0Florent
Copy link
Contributor

Describe your PR, what does it fix/add?

Fix for a weird behaviour that happens when swipe is only valid in 1
direction (i.e. from ws 1)

When you start a swipe from the only direction possible, then swipe back
(without releasing), the last frame where the delta is reset to 0 was
not being rendered

More detail and demonstration video in the bug report discussion

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

Might deserve some testing for various workspace_swipe configurations.

Pleaso also try to reproduce the problem I'm trying to address (from master or any version) to check I'm not fixing a problem no one else has.

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

Ready to me, does fix the issue on my setup

…n edge

Fix for a weird behaviour that happens when swipe is only valid in 1
direction (i.e. from ws 1)

When you start a swipe from the only direction possible, then swipe back
(without releasing), the last frame where the delta is reset to 0 was
not being rendered
@vaxerski vaxerski merged commit 55f2daa into hyprwm:main Jul 23, 2025
13 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.

2 participants