Files
electron/atom/browser/ui
Nishanth Shanmugham 2bbf86c524 tray: Support file-drop from OS X Dock
A long-standing Apple bug does not call `prepareForDragOperation:sender`
for file drag-and-drop operations from the Dock. So we manually
call our custom `handleDrop:sender` for all drag-and-drop cases (that
is, from the Dock and from Finder).

References to the bug in question:
- http://stackoverflow.com/q/9534543/3309046
- http://openradar.appspot.com/radar?id=1745403

However, we still need to return YES from `prepareForDragOperation:sender`,
otherwise the "drag failed" animation occurs. For the same reason, we also
return YES from `performDragOperation:sender`.
2015-12-29 03:27:59 -06:00
..
2015-12-07 19:56:23 +08:00
2015-12-07 13:27:05 -08:00
2015-12-02 19:58:10 +08:00
2015-12-07 19:56:23 +08:00
2015-09-03 17:50:23 +09:00
2015-12-07 13:27:05 -08:00
2015-12-07 10:02:06 -08:00
2015-05-21 15:22:52 +08:00
2015-01-27 13:18:30 -08:00