_wip parent-child positioning fixes

This commit is contained in:
2024-08-08 23:44:29 +03:00
parent f0058bbb29
commit dcdcbed892
6 changed files with 255 additions and 52 deletions

View File

@@ -41,8 +41,7 @@ bool SDLPlatform::Init()
SDL_SetHintWithPriority(SDL_HINT_VIDEO_DRIVER, "x11", SDL_HINT_OVERRIDE);
else if (CommandLine::Options.Wayland)
SDL_SetHintWithPriority(SDL_HINT_VIDEO_DRIVER, "wayland", SDL_HINT_OVERRIDE);
else
SDL_SetHintWithPriority(SDL_HINT_VIDEO_DRIVER, "wayland", SDL_HINT_OVERRIDE);
// If the hint is not present, SDL will prefer more stable X11 driver over Wayland
#endif
#if PLATFORM_LINUX