Files
SDL/src/video
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
..
2023-07-03 12:46:47 -07:00
2023-07-17 00:10:50 +03:00
2023-07-03 12:46:47 -07:00
2023-07-03 12:46:47 -07:00
2023-05-17 12:58:00 -07:00
2023-05-17 12:58:00 -07:00
2023-07-03 12:46:47 -07:00
2023-07-03 12:46:47 -07:00
2023-07-12 15:34:10 -07:00
2023-05-17 12:58:00 -07:00
2023-07-03 12:46:47 -07:00
2023-01-09 09:41:41 -08:00
2023-07-03 12:46:47 -07:00
2023-03-30 10:48:48 -07:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-01-09 09:41:41 -08:00
2023-07-03 12:46:47 -07:00
2023-01-09 09:41:41 -08:00
2023-07-03 12:46:47 -07:00