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

Improve window size restoration (on startup), and other window sizing fixes #319


Copy link

commented Apr 9, 2019

No description provided.

past-due added 6 commits Apr 9, 2019
wzMainScreenSetup: Improve desired window size / display scale sanity…
… checking

If the desired window size is below the minimum required size (for the current display scale setting), do not immediately reduce display scale to 100% - attempt to use the maximum display scale for the desired window size (if possible).
wzMainScreenSetup: Improve desired window size sanity checking
If not fullscreen, ensure the desired window size is not greater than the usable bounds for the desired display / screen.
wzMainScreenSetup: Avoid initial (visible) adjustment of screen size
If the created window size differs from the requested window size.

@past-due past-due added this to the 3.3.0_beta2 milestone Apr 9, 2019

@past-due past-due merged commit 924b982 into Warzone2100:master Apr 11, 2019

8 checks passed

LGTM analysis: C/C++ No new or fixed alerts
LGTM analysis: JavaScript No code changes detected
LGTM analysis: Python No code changes detected
WIP Ready for review
continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed
freebsd_build FreeBSD:freebsd-11-2-release-amd64 Task Summary
freebsd_build FreeBSD:freebsd-12-0-release-amd64 Task Summary

@past-due past-due deleted the past-due:2019_04_09_improve_window_size_restoration_1 branch Apr 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.