Disable window flashing on Wayland to fix focus issues

This commit is contained in:
2025-06-17 14:23:20 +03:00
parent a4272d6ca9
commit 6fb8419b3c

View File

@@ -750,6 +750,11 @@ Float2 SDLWindow::ClientToScreen(const Float2& clientPos) const
void SDLWindow::FlashWindow()
{
#if PLATFORM_LINUX
// Flashing brings the window on top of other windows, disable it for now
if (SDLPlatform::UsesWayland())
return;
#endif
SDL_FlashWindow(_window, SDL_FLASH_UNTIL_FOCUSED);
}