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-03-30 21:35:01 +00:00
2023-03-09 09:00:09 -08:00
2023-07-09 20:50:16 +00:00
2023-03-30 21:35:01 +00:00
2023-02-19 10:01:33 -08:00
2023-03-16 20:25:59 +01:00
2023-07-07 10:25:06 +02:00
2023-01-09 09:41:41 -08:00
2023-02-19 10:01:33 -08:00
2023-03-27 06:12:49 +00:00
2023-02-19 10:01:33 -08:00
2023-03-27 06:12:49 +00:00
2023-02-24 11:49:41 -05:00
2023-07-18 16:42:05 -04:00
2023-06-27 21:52:33 -07:00
2023-07-18 12:50:10 -07:00
2023-02-19 10:01:33 -08:00
2023-01-09 09:41:41 -08:00
2023-06-27 21:52:33 -07:00
2023-07-08 09:32:24 -07:00
2023-02-19 10:01:33 -08:00
2023-03-30 21:35:01 +00:00
2023-04-28 12:08:33 -07:00
2023-02-19 10:01:33 -08:00
2023-05-22 11:33:47 -07:00
2023-02-19 10:01:33 -08:00
2023-02-24 11:49:41 -05:00
2023-02-19 10:01:33 -08:00
2023-03-30 21:35:01 +00:00
2023-07-03 12:46:47 -07:00
2023-01-09 09:41:41 -08:00
2023-02-19 10:01:33 -08:00
2023-02-12 08:21:02 -08:00
2023-03-08 22:32:54 -08:00
2023-05-10 06:27:38 -07:00
2023-07-17 12:59:56 -07:00
2023-02-04 10:02:10 +03:00
2023-03-30 21:35:01 +00:00
2022-11-26 22:15:18 -08:00
2022-11-26 22:15:18 -08:00
2022-11-26 22:15:18 -08:00
2022-11-26 22:15:18 -08:00
2023-02-19 10:01:33 -08:00
2023-02-19 10:01:33 -08:00
2023-07-01 17:58:34 -07:00
2023-03-30 21:35:01 +00:00
2023-02-19 10:01:33 -08:00
2023-02-19 10:01:33 -08:00
2023-02-19 10:01:33 -08:00
2023-02-19 10:01:33 -08:00
2023-06-27 21:52:33 -07:00
2023-02-23 23:55:56 +03:00
2023-07-09 20:50:16 +00:00
2023-02-19 10:01:33 -08:00
2023-06-17 09:28:27 -07:00
2023-03-06 09:50:12 -08:00
2023-07-17 19:37:51 -07:00
2023-07-09 20:50:16 +00:00
2023-03-30 21:35:01 +00:00
2023-05-26 14:53:17 -07:00
2023-02-19 10:01:33 -08:00
2023-05-17 12:58:00 -07:00
2023-02-19 10:01:33 -08:00
2023-02-19 10:01:33 -08:00
2023-02-19 10:01:33 -08:00
2023-02-19 10:01:33 -08:00
2023-02-19 10:01:33 -08:00
2023-02-19 10:01:33 -08:00
2023-02-19 10:01:33 -08:00
2023-02-19 10:01:33 -08:00
2023-02-19 10:01:33 -08:00
2023-02-19 10:01:33 -08:00
2023-07-07 21:55:20 +02:00
2023-02-19 10:01:33 -08:00
2023-02-24 11:49:41 -05:00
2023-02-19 10:01:33 -08:00
2023-07-18 16:42:05 -04:00
2023-02-19 10:01:33 -08:00
2023-01-09 09:41:41 -08:00