diff --git a/dlls/winex11.drv/xdnd.c b/dlls/winex11.drv/xdnd.c index de689fd80a3..f5038842e99 100644 --- a/dlls/winex11.drv/xdnd.c +++ b/dlls/winex11.drv/xdnd.c @@ -284,6 +284,8 @@ void X11DRV_XDND_PositionEvent( HWND hWnd, XClientMessageEvent *event ) XDNDxy.x = event->data.l[2] >> 16; XDNDxy.y = event->data.l[2] & 0xFFFF; + XDNDxy.x += virtual_screen_rect.left; + XDNDxy.y += virtual_screen_rect.top; targetWindow = WindowFromPoint(XDNDxy); pointl.x = XDNDxy.x;