Files
electron/atom/browser
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-25 13:45:07 +08:00
2015-12-29 03:27:59 -06:00
2015-09-24 19:31:09 +08:00
2015-12-21 10:52:49 +08:00
2015-12-07 10:02:06 -08:00
2015-11-18 10:07:03 +08:00
2015-10-22 16:20:48 +05:30
2015-09-08 05:24:07 +05:30
2015-09-03 17:50:23 +09:00
2015-09-03 17:50:23 +09:00