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

Fixed mixed screen/client position usage #328

Merged
merged 2 commits into from
Mar 11, 2024

Conversation

BAndysc
Copy link
Contributor

@BAndysc BAndysc commented Mar 10, 2024

In this code, screen and client position were mixed. The screen and client positions are equal when the screen scaling is 100%, but when the DPI is not standard, then they are not. Because of that there was an offset when dragging a window, see the vids:

Before:

Screen.Recording.2024-03-10.at.22.02.05.mov

After:

Screen.Recording.2024-03-10.at.22.02.56.mov

@wieslawsoltes wieslawsoltes merged commit ee9921b into wieslawsoltes:master Mar 11, 2024
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants