SDL/wayland-protocols
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
..
fractional-scale-v1.xml Support wayland fractional scale protocol 2022-11-29 16:35:12 -05:00
idle-inhibit-unstable-v1.xml Implement support for inhibiting the screensaver on Wayland 2021-01-24 00:51:25 -05:00
input-timestamps-unstable-v1.xml wayland: Add high-resolution event timestamp support 2022-12-04 16:56:26 -08:00
keyboard-shortcuts-inhibit-unstable-v1.xml Implement keyboard grab support for Wayland 2021-01-24 00:51:24 -05:00
pointer-constraints-unstable-v1.xml wayland: Keep protocol XML files in-tree. 2018-06-25 09:37:25 -07:00
primary-selection-unstable-v1.xml Add support for X11 primary selection (#6132) 2022-09-14 09:28:35 -07:00
relative-pointer-unstable-v1.xml wayland: Keep protocol XML files in-tree. 2018-06-25 09:37:25 -07:00
tablet-unstable-v2.xml wayland: Basic support for zwp_tablet_*v2 protocol 2022-03-23 13:47:46 -04:00
text-input-unstable-v3.xml wayland: Add support for text-input-unstable-v3 2021-07-29 14:43:46 -07:00
viewporter.xml video: wayland: Use wp-viewporter for fullscreen with non-native resolutions 2022-03-28 13:18:26 -04:00
wayland.xml wayland: Support axis relative direction 2023-04-05 08:58:12 -04:00
xdg-activation-v1.xml wayland: Implement RaiseWindow with xdg-activation 2021-06-02 12:59:07 -07:00
xdg-decoration-unstable-v1.xml wayland: ask xdg-decoration protocol extension to use server-side decorations if possible. 2018-11-04 21:08:40 +01:00
xdg-output-unstable-v1.xml video: wayland: Use xdg-output for retrieving the desktop dimensions 2022-03-23 19:43:11 -04:00
xdg-shell.xml Add and event and flag to report when a window has been occluded 2023-07-18 16:42:05 -04:00