SDL/src/test
Ryan C. Gordon e061a92dc9 Some drag'and'drop improvements.
First: disable d'n'd events by default; most apps don't need these at all, and
if an app doesn't explicitly handle these, each drop on the window will cause
a memory leak if the events are enabled. This follows the guidelines we have
for SDL_TEXTINPUT events already.

Second: when events are enabled or disabled, signal the video layer, as it
might be able to inform the OS, causing UI changes or optimizations (for
example, dropping a file icon on a Cocoa app that isn't accepting drops will
cause macOS to show a rejection animation instead of the drop operation just
vanishing into the ether, X11 might show a different cursor when dragging
onto an accepting window, etc).

Third: fill in the drop event details in the test library and enable the
events in testwm.c for making sure this all works as expected.
2018-08-02 16:03:47 -04:00
..
SDL_test_assert.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_test_common.c Some drag'and'drop improvements. 2018-08-02 16:03:47 -04:00
SDL_test_compare.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_test_crc32.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_test_font.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_test_fuzzer.c SDL_test_fuzzer.c: fix strict aliasing warnings by using a union. 2018-02-25 10:15:00 +03:00
SDL_test_harness.c use the 'aborts' pragma of Watcom for SDL_NORETURN functions 2018-06-13 14:45:02 +03:00
SDL_test_imageBlit.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_test_imageBlitBlend.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_test_imageFace.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_test_imagePrimitives.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_test_imagePrimitivesBlend.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_test_log.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_test_md5.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_test_memory.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_test_random.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00