mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-23 13:09:11 +00:00
![]() Adds the SDL_EVENT_WINDOW_OCCLUDED events and the window flag SDL_WINDOW_OCCLUDED to report when the window occlusion state has changed, so that the application can take appropriate measures, as it may wish to suspend drawing, throttle, or otherwise behave in a more energy efficient manner when the window is not visible. When the window is no longer occluded, the SDL_EVENT_WINDOW_EXPOSED event is sent and the occlusion flag is cleared. This is handled on macOS via the window occlusion state event (available as of 10.9), and via the xdg-shell protocol on Wayland (version 6, wayland-protocols 1.32, passed through in libdecor 0.1.2). |
||
---|---|---|
.. | ||
test | ||
3rdparty.cmake | ||
CheckCPUArchitecture.cmake | ||
cmake_uninstall.cmake.in | ||
CPackProjectConfig.cmake.in | ||
GetGitRevisionDescription.cmake | ||
GetGitRevisionDescription.cmake.in | ||
macros.cmake | ||
sdl3.pc.in | ||
SDL3Config.cmake.in | ||
sdlchecks.cmake | ||
sdlfind.cmake | ||
sdlmanpages.cmake | ||
sdlplatform.cmake | ||
xxd.py |