summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-03-15 22:42:06 +0100
committerwm4 <wm4@nowhere>2016-03-15 22:42:06 +0100
commit7e75e2a5dc1719326ec46265d67205336b975eec (patch)
treea53568d7e9c648a6f5b4c238c348bee22cf77e53 /stream
parent718cc27f34bd0bbaa155cb61e11179dba31cbd33 (diff)
downloadmpv-7e75e2a5dc1719326ec46265d67205336b975eec.tar.bz2
mpv-7e75e2a5dc1719326ec46265d67205336b975eec.tar.xz
x11, input: move mime type drag&drop negotiation to common code
Drag&drop mechanisms typically support multiple types for the drop data. Move most of the logic which types are accepted and preferred to event.c, where the data is also interpreted. (Maybe sorting the types by assigning scores is over-engineered, since they're already sorted by preference, but it's actually not much more code.) Not very interesting/meaningful yet, but preparation for the next commit.
Diffstat (limited to 'stream')
0 files changed, 0 insertions, 0 deletions