mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 19:30:58 +00:00
winex11.drv: Translate the drop point to the virtual screen.
This commit is contained in:
parent
a76e78dc8a
commit
a4f3cabb5f
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue