>From fec59dbdab6b6fac125f105140c40d3a26ac406b Mon Sep 17 00:00:00 2001 From: Changping Yu Date: Tue, 23 Jun 2020 08:50:10 +0800 Subject: [PATCH] winex11.drv: Add drag and drop events. Signed-off-by: Changping Yu --- dlls/winex11.drv/xdnd.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dlls/winex11.drv/xdnd.c b/dlls/winex11.drv/xdnd.c index 0cd2ad8892..d74279660f 100644 --- a/dlls/winex11.drv/xdnd.c +++ b/dlls/winex11.drv/xdnd.c @@ -428,7 +428,11 @@ void X11DRV_XDND_DropEvent( HWND hWnd, XClientMessageEvent *event ) pointl, &effect); if (hr == S_OK) { - if (effect != DROPEFFECT_NONE) + if (effect == DROPEFFECT_COPY) + { + TRACE("drop returned DROPEFFECT_COPY\n"); + } + else if (effect != DROPEFFECT_NONE) { TRACE("drop succeeded\n"); accept = 1; -- 2.27.0.windows.1