Tangent128 / luasdl2

A pure C binding of SDL 2.0 for Lua 5.1, Lua 5.2, and LuaJIT.
ISC License
383 stars 73 forks source link

No SDL_WINDOWPOS_CENTERED #60

Open 44100hertz opened 7 years ago

44100hertz commented 7 years ago

Now that I think of it, maybe this should be the behavior when no arguments are passed.

Web-eWorks commented 7 years ago

SDL_WINDOWPOS_UNDEFINED is the default, as I believe it allows the WM to position the window as needed. I will see about implementing the SDL_WINDOWPOS_X macros as Lua functions to allow positioning on / selecting a default display.