skins2(Linux): fix some drag&drop issues
commit4ee6861fcd4fb5a09b76952f1f0799b2d3f763e3
authorErwan Tulou <erwan10@videolan.org>
Sun, 16 Jan 2011 21:21:01 +0000 (16 22:21 +0100)
committerErwan Tulou <erwan10@videolan.org>
Sun, 16 Jan 2011 22:05:07 +0000 (16 23:05 +0100)
tree59a606bc076e3d4f2a6ee963fb8265c6a57df837
parentd9cdd2949ba3193c43670a5842f901b17a0e7d53
skins2(Linux): fix some drag&drop issues

On Linux, drag&drop provides a null-terminated character string, consisting of
one or more filenames. When there are more than one filename, either CR LF
(e.g Nautilus) or just LF (e.g Konqueror) are used as the sub delimiter.
This patch ensures that drag&drop now works for both cases.

In addition, if more than one item are selected, only the first item is
launched instead of all of them.
modules/gui/skins2/x11/x11_dragdrop.cpp