mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-21 12:18:28 +00:00
Added SDL_CreateWindowWithPosition()
It turns out there's a race condition on X11 where the window could be placed by the window manager while being placed by the application, so we need to have the initial position available at window creation.
This commit is contained in:
parent
b6ae281e97
commit
2aa2fa5449
9 changed files with 88 additions and 20 deletions
|
@ -867,3 +867,4 @@
|
|||
#define SDL_GetSystemTheme SDL_GetSystemTheme_REAL
|
||||
#define SDL_CreatePopupWindow SDL_CreatePopupWindow_REAL
|
||||
#define SDL_GetWindowParent SDL_GetWindowParent_REAL
|
||||
#define SDL_CreateWindowWithPosition SDL_CreateWindowWithPosition_REAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue