winex11.drv: Translate the drop point to the virtual screen.

This commit is contained in:
Damjan Jovanovic 2010-09-22 15:29:42 +02:00 committed by Alexandre Julliard
parent a76e78dc8a
commit a4f3cabb5f
1 changed files with 2 additions and 0 deletions

View File

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