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

Allow '`Undefined' WindowCreateOption for initial window position #1051

Merged
merged 1 commit into from
Mar 21, 2021

Conversation

Timbus
Copy link
Contributor

@Timbus Timbus commented Mar 5, 2021

Passing the Undefined variant to SDL allows the OS to choose the window position, which seems preferable to picking a location (Absolute) or spawning right in the middle of the desktop, across my two monitors (Centered).
Works fine from my testing.

Cool project btw.

Passing this variant to SDL allows the OS to choose the window position
which is generally preferred from a user's standpoint.
Copy link
Member

@glennsl glennsl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@glennsl glennsl merged commit 2d936c6 into revery-ui:master Mar 21, 2021
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