Files
SDL/src
Ryan C. Gordon cf63af8ae2 events: Don't lose window RESIZED events during SIZED_CHANGED processing.
Previously, calling SDL_SendWindowEvent for a SIZED_CHANGED event would
filter the queue to remove RESIZED and SIZED_CHANGED events, so you don't
overflow the queue with obsolete data, but any RESIZED events would be
lost in this process.

Now we note if there was a RESIZED pending and replace it with a new
event using the same dimensions as the new SIZED_CHANGED event. This fixes
cases where an app is only listening for RESIZED events and thus might
lose important information in some cases.

Fixes #5925.
2022-07-31 22:10:45 -04:00
..
2022-07-05 07:50:57 -07:00
2022-07-11 13:34:35 -04:00
2022-07-01 13:59:14 -07:00
2022-07-17 09:07:04 -07:00
2022-07-01 13:59:14 -07:00
2022-06-15 15:15:26 -07:00
2022-07-01 13:59:14 -07:00
2022-07-30 16:34:40 -07:00
2022-07-01 13:59:14 -07:00
2022-07-01 13:59:14 -07:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-04-01 08:01:44 +02:00
2022-04-01 08:01:44 +02:00
2022-07-18 07:18:56 -07:00
2022-07-01 13:59:14 -07:00