mpv/video/out/cocoa
Akemi 5f10a415d7 cocoa: fix dropping of files and URLs
the problem here is that dropped files can also be treated as
NSURLPboardType instead of just NSFilenamesPboardType. the 'else if'
could never be reached and was dead code.

this basically reverts ed695ce which tried to fix multiple dropped
URLs, or rather files, and moves the filename check infront of the URL
check. the filename path can handle multiple dropped files, whereas the
URL path can only handle one dropped URL. this assumes that only one URL
can be dropped at a time. it also reverts a603543 because it's not
needed any more.

this also fixes a problem where dropped URLs from Chrome don't conform
to the NSURL class and the readObjectsForClasses method always returned
an empty URL.

Fixes #4036
2017-02-02 16:25:44 +01:00
..
events_view.h cocoa: fullscreen refactoring 2016-12-15 20:55:16 +01:00
events_view.m cocoa: fix dropping of files and URLs 2017-02-02 16:25:44 +01:00
mpvadapter.h cocoa: fullscreen refactoring 2016-12-15 20:55:16 +01:00
video_view.h cocoa: allow to embed into an arbitrary NSView 2014-10-08 19:38:35 +02:00
video_view.m cocoa: cosmetic fixes 2016-12-16 16:32:26 +01:00
window.h cocoa: move updateBorder method to the protocol 2017-01-19 14:54:22 +01:00
window.m cocoa: optimise screen event handling 2017-02-02 16:22:27 +01:00