SDL/src
Frank Praznik 6204768653 wayland: Don't block on libdecor_dispatch()
libdecor_dispatch() needs to be called, as libdecor plugins might do some required internal processing within, however care must be taken to avoid double-blocking in the case of a timeout, which can occur if libdecor_dispatch() and the SDL event processing both work on the main Wayland queue. Additionally, assumptions that libdecor will always dispatch the main queue or not process zero-length queues (can occur if a wait is interrupted by the application queueing an event) should not be made, as this behavior is outside the control of SDL and can change.

SDL handles polling for Wayland events and then calls libdecor to do its internal processing and dispatch. If libdecor operates on the main queue, it will dispatch the queued events and the additional wl_display_dispatch_pending() call will be a NOP. If a libdecor plugin uses its own, separate queue, then the wl_display_dispatch_pending() call will ensure that the main queue is always dispatched.
2022-10-15 09:33:37 -07:00
..
atomic Proposing exposing as public api the various arch dependent 2022-08-04 08:47:39 -07:00
audio N3DS port (squashed) 2022-10-10 08:50:59 -07:00
core X11 scancode mapping cleanup 2022-10-13 22:41:47 -07:00
cpuinfo N3DS: NEON is likely not supported. 2022-10-10 08:50:59 -07:00
dynapi dynapi: Disable support for API call logging by default. 2022-10-12 09:59:31 -04:00
events Added documentation for some scancodes 2022-10-14 06:33:38 -07:00
file N3DS: Use asprintf instead of snprintf. 2022-10-10 08:50:59 -07:00
filesystem N3DS: Use asprintf instead of snprintf. 2022-10-10 08:50:59 -07:00
haptic Xbox GDKX support (#5869) 2022-07-01 13:59:14 -07:00
hidapi hidapi, libusb: backport read_thread indefinite loop fix from mainstream 2022-09-28 08:26:08 -07:00
joystick Steam Controller support defaults off, as documented in SDL_hints.h 2022-10-14 14:35:52 -07:00
libm N3DS port (squashed) 2022-10-10 08:50:59 -07:00
loadso use SDL_InvalidParamError or SDL_assert instead of custom SDL_SetError 2022-01-28 20:40:19 -05:00
locale N3DS port (squashed) 2022-10-10 08:50:59 -07:00
main N3DS: Move gfxInit and hidInit from main to video. 2022-10-10 08:50:59 -07:00
misc Xbox GDKX support (#5869) 2022-07-01 13:59:14 -07:00
power N3DS port (squashed) 2022-10-10 08:50:59 -07:00
render Remove D3D9 workarounds for Watcom. 2022-10-12 17:55:37 +03:00
sensor N3DS: Fix PrivateSensorUpdate call. 2022-10-10 08:50:59 -07:00
stdlib SDL_malloc.c: fix variable 'used' set but not used 2022-10-08 23:41:07 +02:00
test Do case insensitive matching on test cases 2022-09-19 14:37:10 -07:00
thread PSP: Fix type mismatch warnings. 2022-10-10 22:31:16 -07:00
timer N3DS port (squashed) 2022-10-10 08:50:59 -07:00
video wayland: Don't block on libdecor_dispatch() 2022-10-15 09:33:37 -07:00
SDL_assert_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_assert.c hide SDL_GenerateAssertionReport in case SDL_ASSERT_LEVEL is 0 2022-07-25 14:26:46 -07:00
SDL_dataqueue.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_dataqueue.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_error_c.h Removed the limit on the size of the SDL error message 2022-06-27 16:59:50 -07:00
SDL_error.c Fix SIGSEV in SDL_error (After removing the limit on the size of the SDL error message) (see #5795) 2022-06-28 09:46:12 +02:00
SDL_guid.c Refactoring: move GUID operations out of Joystick 2022-06-04 17:22:13 -07:00
SDL_hints_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_hints.c Fixed build 2022-10-02 17:25:43 -07:00
SDL_internal.h Fix enabling SDL_DYNAMIC_API in OpenWatcom builds 2022-05-19 20:11:10 +03:00
SDL_list.c Add SDL_list.c/h 2022-04-01 08:01:44 +02:00
SDL_list.h Add SDL_list.c/h 2022-04-01 08:01:44 +02:00
SDL_log_c.h Added declaration of SDL_LogInit() and SDL_LogQuit() 2022-04-28 15:01:34 -07:00
SDL_log.c N3DS port (squashed) 2022-10-10 08:50:59 -07:00
SDL_utils_c.h Fixed comment (thanks @pionere!) 2022-07-18 07:18:56 -07:00
SDL_utils.c Fixed declaration-after-statement warning 2022-07-18 07:31:23 -07:00
SDL.c N3DS port (squashed) 2022-10-10 08:50:59 -07:00