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

fix: Use monitor refreshrate tick for resizing and/or moving windows #2988

Merged
merged 2 commits into from
Aug 16, 2023
Merged

fix: Use monitor refreshrate tick for resizing and/or moving windows #2988

merged 2 commits into from
Aug 16, 2023

Conversation

DashieTM
Copy link
Contributor

@DashieTM DashieTM commented Aug 15, 2023

Describe your PR, what does it fix/add?

when using the following 2 settings: animate_mouse_windowdragging=false and animate_manual_resizes=true
The animations for resizing are currently not using monitor refreshrate ticks due to this being locked behind PANIMATEMOUSE, which is only active with animate_mouse_windowdragging.

This results in animations being "laggy" again. (at least for me)

This simply activates the feature for both, meaning both can benefit from the improved tick.

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

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

ready

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.

my bad 🚶‍♂️

@vaxerski vaxerski merged commit 19c4855 into hyprwm:main Aug 16, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants