From 9cc8107c6b9177e2fc7e09c71daf649c21c95ad7 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 10 Feb 2014 14:19:11 +0100 Subject: [PATCH] Fixed X11 drop support. This was broken by 8ae063bb1b61cf0daa9c4d4c10d6a189e8cad121. Fixes #224. --- src/x11_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x11_window.c b/src/x11_window.c index 776fba38..fd7fbd21 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -799,7 +799,7 @@ static void processEvent(XEvent *event) reply.xclient.data.l[3] = 0; reply.xclient.data.l[4] = _glfw.x11.XdndActionCopy; - XSendEvent(_glfw.x11.display, window->x11.handle, + XSendEvent(_glfw.x11.display, event->xclient.data.l[0], False, NoEventMask, &reply); XFlush(_glfw.x11.display); }