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)
|
if (XDNDAccepted)
|
||||||
accept = 1;
|
accept = 1;
|
||||||
else if (dropTarget == NULL &&
|
else if ((GetWindowLongW( hWnd, GWL_EXSTYLE ) & WS_EX_ACCEPTFILES) &&
|
||||||
(GetWindowLongW( hWnd, GWL_EXSTYLE ) & WS_EX_ACCEPTFILES) &&
|
(X11DRV_XDND_XdndActionToDROPEFFECT(event->data.l[4]) & DROPEFFECT_COPY) &&
|
||||||
(effect & DROPEFFECT_COPY) &&
|
|
||||||
X11DRV_XDND_HasHDROP())
|
X11DRV_XDND_HasHDROP())
|
||||||
{
|
{
|
||||||
accept = 1;
|
accept = 1;
|
||||||
|
|
Loading…
Reference in New Issue