SDL/include/build_config
Frank Praznik 44536b7537 Add and event and flag to report when a window has been occluded
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).
2023-07-18 16:42:05 -04:00
..
SDL_build_config.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_build_config.h.cmake Add and event and flag to report when a window has been occluded 2023-07-18 16:42:05 -04:00
SDL_build_config_android.h Check for modff in addition to modf 2023-06-15 16:43:35 -07:00
SDL_build_config_emscripten.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_build_config_ios.h Check for modff in addition to modf 2023-06-15 16:43:35 -07:00
SDL_build_config_macos.h Check for modff in addition to modf 2023-06-15 16:43:35 -07:00
SDL_build_config_minimal.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_build_config_ngage.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_build_config_windows.h rwlock: Added SDL_rwlock API for shared locks. 2023-04-27 21:54:02 -04:00
SDL_build_config_wingdk.h gdk: Virtual keyboard and text input backend 2023-05-31 13:11:39 -07:00
SDL_build_config_winrt.h Check for modff in addition to modf 2023-06-15 16:43:35 -07:00
SDL_build_config_xbox.h gdk: Virtual keyboard and text input backend 2023-05-31 13:11:39 -07:00
SDL_revision.h.cmake include: add \brief to includes 2023-02-19 10:01:33 -08:00