-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix windows not resizing correctly when moving between displays with …
…different scaling For some reason, Windows doesn't always set the window size correctly after moving it to a display that has different scaling to the previous one. I don't know if it's trying to be clever by being aware of the target display's scaling and adjusting the size parameter automatically? This is fixed by just retrying the operation until the window's rect matches our target. I actually implemented this in LKP previously in what might have been a related issue. Retries are now built into `Window.move`, which `Window.set_pos` now uses. Therefore, retry logic in the LKP function is no longer required
- Loading branch information
Showing
2 changed files
with
18 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters