From c80b7eed53dfd9f6a0aadc9c11981cba2a59655d Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Sat, 29 Aug 2015 00:42:04 -0700 Subject: input: add append argument to file drop event This puts in place the machinery to merely append dropped file to the playlist instead of replacing the existing playlist. In this commit, all front-ends set this to false preserving the existing behaviour. --- video/out/x11_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/x11_common.c') diff --git a/video/out/x11_common.c b/video/out/x11_common.c index 9ed57bdc4f..a5c9dd84f5 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -838,7 +838,7 @@ static void vo_x11_dnd_handle_selection(struct vo *vo, XSelectionEvent *se) if (prop) { // No idea if this is guaranteed to be \0-padded, so use bstr. success = mp_event_drop_mime_data(vo->input_ctx, "text/uri-list", - (bstr){prop, nitems}) > 0; + (bstr){prop, nitems}, DND_REPLACE) > 0; XFree(prop); } } -- cgit v1.2.3