sdl2_frt/src/video/windows
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_msctf.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_vkeys.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowsclipboard.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowsclipboard.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowsevents.c Reverted change for bug 4152 - restrict the win10 mouse bug workaround to win10 v1709 only 2018-05-07 20:10:12 -07:00
SDL_windowsevents.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowsframebuffer.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowsframebuffer.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowskeyboard.c revert the recent typecast assignment changes (see bug #4079) 2018-02-12 17:00:00 +03:00
SDL_windowskeyboard.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowsmessagebox.c Attempt to fix "cast from pointer to integer of different size" warnings. 2018-06-29 16:56:11 -04:00
SDL_windowsmessagebox.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowsmodes.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowsmodes.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowsmouse.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowsmouse.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowsopengl.c revert the recent typecast assignment changes (see bug #4079) 2018-02-12 17:00:00 +03:00
SDL_windowsopengl.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowsopengles.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowsopengles.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowsshape.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowsshape.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowstaskdialog.h SDL_windowstaskdialog.h (struct _TASKDIALOGCONFIG): make unions anonymous 2018-06-30 20:55:51 +03:00
SDL_windowsvideo.c Some drag'and'drop improvements. 2018-08-02 16:03:47 -04:00
SDL_windowsvideo.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowsvulkan.c revert the recent typecast assignment changes (see bug #4079) 2018-02-12 17:00:00 +03:00
SDL_windowsvulkan.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_windowswindow.c Some drag'and'drop improvements. 2018-08-02 16:03:47 -04:00
SDL_windowswindow.h Some drag'and'drop improvements. 2018-08-02 16:03:47 -04:00
wmmsg.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00