Disable window flashing on Wayland to fix focus issues
This commit is contained in:
@@ -750,6 +750,11 @@ Float2 SDLWindow::ClientToScreen(const Float2& clientPos) const
|
|||||||
|
|
||||||
void SDLWindow::FlashWindow()
|
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);
|
SDL_FlashWindow(_window, SDL_FLASH_UNTIL_FOCUSED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user