MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / FlashWindow

Method FlashWindow

Source/Engine/Platform/SDL/SDLWindow.cpp:825–833  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

823}
824
825void SDLWindow::FlashWindow()
826{
827#if PLATFORM_LINUX
828 // KDE bug: flashing brings the window on top of other windows, disable it for now...
829 if (SDLPlatform::UsesWayland() && SDLImpl::XDGCurrentDesktop.Compare(String("KDE"), StringSearchCase::IgnoreCase) == 0)
830 return;
831#endif
832 SDL_FlashWindow(_window, SDL_FLASH_UNTIL_FOCUSED);
833}
834
835float SDLWindow::GetOpacity() const
836{

Callers 1

ShowMethod · 0.45

Calls 2

StringClass · 0.50
CompareMethod · 0.45

Tested by

no test coverage detected