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

snap: use the bit mask to check if snapping occurred #8659

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

myQwil
Copy link
Contributor

@myQwil myQwil commented Dec 6, 2024

Describe your PR, what does it fix/add?

This probably ends up being a slightly faster check. It's also more readable and more directly suited for this exact purpose.

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

Nope

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

Ready for merging

@vaxerski vaxerski merged commit 5ff0290 into hyprwm:main Dec 6, 2024
12 checks passed
myQwil added a commit to myQwil/Hyprland that referenced this pull request Dec 27, 2024
They seem like the same check, but a snap bit might not be
turned on as expected if we grab a different corner after
an edge has already been snapped.
vaxerski pushed a commit that referenced this pull request Dec 27, 2024
They seem like the same check, but a snap bit might not be
turned on as expected if we grab a different corner after
an edge has already been snapped.
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