winex11: Use passed point in handle_position_event.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2022-05-03 15:13:32 +02:00 committed by Alexandre Julliard
parent ac9b635800
commit 03e8991735
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ static BOOL handle_position_event( struct dnd_position_event_params *params )
int accept = 0; /* Assume we're not accepting */
IDropTarget *dropTarget = NULL;
DWORD effect = params->effect;
POINTL pointl;
POINTL pointl = { .x = params->point.x, .y = params->point.y };
HWND targetWindow;
HRESULT hr;