Fixed X11 drop support.

This was broken by 8ae063bb1b.

Fixes #224.
This commit is contained in:
Camilla Berglund 2014-02-10 14:19:11 +01:00
parent 84377c6175
commit 9cc8107c6b

View File

@ -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);
}