sdl2_frt/src/video
Ryan C. Gordon 360d05bf72 X11: Fixed SelectionRequest replies for target TARGETS.
Fixes Google Chrome, etc, freezing up when SDL owns the clipboard selection
and actually sends thems the correct text for pasting. Confirmed working with
Unicode strings in UTF-8 format.

There were a few tweaks in this patch, but the specific fix is that
event.xselection.target in the SelectionNotify event we send back in reply
must be set to the same atom as the request ("TARGETS" in this case), and
we failed to do that in this special case. Things that don't ask for a target,
like the Gnome Terminal app, worked fine because they don't ask for TARGETS
and just go right to asking for a UTF8_STRING, and Mozilla apparently just
was more liberal in what they accepted in reply.

Chrome would reject our wrong reply and freeze up waiting for a valid one.
Someone should fix that in Chrome, too.  :)

Fixes Bugzilla #2926.
2015-06-04 15:41:39 -04:00
..
android Android: Changed two unknown keys to be consistent with Windows and X11 mapping. 2015-05-31 19:22:42 +02:00
cocoa Backout commit 83034612a883 2015-06-04 02:12:06 -04:00
directfb Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
dummy Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
emscripten Fixed bug 2054 - SDL_GetError: "Unknown touch device" 2015-05-28 12:55:01 -07:00
haiku Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
mir Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
nacl Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
pandora Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
psp Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
raspberry Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
uikit Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
vivante Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
wayland Fixed bug 2054 - SDL_GetError: "Unknown touch device" 2015-05-28 12:55:01 -07:00
windows Fixed bug 2054 - SDL_GetError: "Unknown touch device" 2015-05-28 12:55:01 -07:00
winrt Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
x11 X11: Fixed SelectionRequest replies for target TARGETS. 2015-06-04 15:41:39 -04:00
SDL_blit_0.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_1.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_A.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_auto.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_auto.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_copy.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_copy.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_N.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_slow.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_slow.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_bmp.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_clipboard.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_egl_c.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_egl.c EGL: OpenGL ES 3.0 contexts can now be created without the EGL_KHR_create_context extension. 2015-05-26 19:34:56 -03:00
SDL_fillrect.c Fixed swizzle of SDL_FillRect() on 24-bit surface (thanks, "nagydavid91"!). 2015-05-31 11:38:10 -04:00
SDL_pixels_c.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_pixels.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_rect_c.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_rect.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_RLEaccel_c.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_RLEaccel.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_shape_internals.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_shape.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_stretch.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_surface.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_sysvideo.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_video.c Reset the keyboard state when launching a message box (thanks, Sean!). 2015-05-26 20:49:27 -04:00
sdlgenblit.pl Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00