SDL/src/events
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
..
blank_cursor.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
default_cursor.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
scancodes_darwin.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
scancodes_linux.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
scancodes_windows.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
scancodes_xfree86.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_clipboardevents.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_clipboardevents_c.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_dropevents.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_dropevents_c.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_events.c Some drag'and'drop improvements. 2018-08-02 16:03:47 -04:00
SDL_events_c.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_gesture.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_gesture_c.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_keyboard.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_keyboard_c.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_mouse.c Added support for external mouse in Samsung DeX mode 2018-06-18 13:14:02 -07:00
SDL_mouse_c.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_quit.c Fixed building on platforms without __sighandler_t 2018-01-30 18:12:25 -08:00
SDL_sysevents.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_touch.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_touch_c.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowevents.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowevents_c.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00