revery-ui / revery

:zap: Native, high-performance, cross-platform desktop apps - built with Reason!
https://www.outrunlabs.com/revery/
MIT License
8.07k stars 196 forks source link

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

Closed Timbus closed 3 years ago

Timbus commented 3 years ago

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.