winex11.drv: Inform x11 that we're interested in drop if windows expects WM_DROPFILES message.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5dad16510d
commit
701bb45203
|
@ -339,9 +339,8 @@ void X11DRV_XDND_PositionEvent( HWND hWnd, XClientMessageEvent *event )
|
|||
|
||||
if (XDNDAccepted)
|
||||
accept = 1;
|
||||
else if (dropTarget == NULL &&
|
||||
(GetWindowLongW( hWnd, GWL_EXSTYLE ) & WS_EX_ACCEPTFILES) &&
|
||||
(effect & DROPEFFECT_COPY) &&
|
||||
else if ((GetWindowLongW( hWnd, GWL_EXSTYLE ) & WS_EX_ACCEPTFILES) &&
|
||||
(X11DRV_XDND_XdndActionToDROPEFFECT(event->data.l[4]) & DROPEFFECT_COPY) &&
|
||||
X11DRV_XDND_HasHDROP())
|
||||
{
|
||||
accept = 1;
|
||||
|
|
Loading…
Reference in New Issue