sdl2_frt/src/video
Sam Lantinga 8dea23c705 Fixed bug 3911 - SYSWM generic X11 events missing event data
Andrei Drexler

For X11 GenericEvents, the associated data is only available between a call to XGetEventData and the matching XFreeEventData, i.e. in X11_HandleGenericEvent. Trying to call XGetEventData a second time on the same event will fail, so an application that wants to inspect XInput2 events (e.g. for stylus pressure) has no way of retrieving its data from queued SYSWM events.

The attached patch (based on SDL-2.0.7-11629) sends SYSWM messages from X11_HandleGenericEvent while the data is still available, allowing client code to register an event filter/watcher and process the event inside the callback.
2019-05-19 10:44:14 -07:00
..
android Fixed bug 4608 - Android: not getting SDL_WINDOWEVENT_FOCUS_GAINED on start of our app 2019-04-25 14:17:07 -07:00
cocoa macOS: Fix compilation when using the 10.9 SDK or older. 2019-04-17 20:14:40 -03:00
directfb Updated copyright for 2019 2019-01-04 22:01:14 -08:00
dummy Updated copyright for 2019 2019-01-04 22:01:14 -08:00
emscripten Patched to compile. 2019-05-11 12:41:21 -04:00
haiku Updated copyright for 2019 2019-01-04 22:01:14 -08:00
khronos Added Vulkan headers version 1.1.91 2018-11-06 16:57:07 -08:00
kmsdrm KMSDRM: valid file descriptors could positive or 0. -1 is invalid. (Bug 4530) 2019-03-13 14:54:51 +01:00
nacl Updated copyright for 2019 2019-01-04 22:01:14 -08:00
pandora Updated copyright for 2019 2019-01-04 22:01:14 -08:00
psp Updated copyright for 2019 2019-01-04 22:01:14 -08:00
qnx
raspberry raspberry: expose second display. 2019-02-19 23:46:54 -05:00
uikit [SDL] ios Touch Fix. 2019-05-14 07:55:42 -07:00
vivante video: Add Vulkan support for vivante fb 2019-05-19 10:36:44 -07:00
wayland Bug 4576: one more warning 2019-04-02 18:07:27 +02:00
windows Bug 4576: fix warning and compile 2019-04-02 17:57:27 +02:00
winrt Bug 4576: remove touch/mouse duplication for WinRT 2019-04-02 17:13:22 +02:00
x11 Fixed bug 3911 - SYSWM generic X11 events missing event data 2019-05-19 10:44:14 -07:00
yuv2rgb yuv: Patched to make static analysis happy (warned about unused variable). 2018-06-25 13:14:52 -04:00
SDL_blit_0.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_1.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_A.c Fix blit with blending (Blit_A) to RGB332 which has no palette 2019-01-30 17:16:08 +01:00
SDL_blit_auto.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_auto.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_copy.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_copy.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_N.c Un-activate some routine on mips because they are slowers (Bug 4503) 2019-02-23 09:36:56 +01:00
SDL_blit_slow.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_slow.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_bmp.c Fixed Windows RT build 2019-03-19 16:52:09 -07:00
SDL_clipboard.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_egl_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_egl.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_fillrect.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_pixels_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_pixels.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_rect_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_rect.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_RLEaccel_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_RLEaccel.c Fixed bug 4484 - use SIMD aligned memory for SDL_Surface 2019-02-04 09:11:07 +01:00
SDL_shape_internals.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_shape.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_stretch.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_surface.c Fixed bug 4484 - use SIMD aligned memory for SDL_Surface 2019-02-04 09:11:07 +01:00
SDL_sysvideo.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_video.c Added a helper function to tell whether or not a window can be minimized 2019-04-22 16:34:42 -07:00
SDL_vulkan_internal.h video: Add Vulkan support for vivante fb 2019-05-19 10:36:44 -07:00
SDL_vulkan_utils.c video: Add Vulkan support for vivante fb 2019-05-19 10:36:44 -07:00
SDL_yuv_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_yuv.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
sdlgenblit.pl Updated copyright for 2019 2019-01-04 22:01:14 -08:00