Commit d2314223 authored by Damjan Jovanovic's avatar Damjan Jovanovic Committed by Alexandre Julliard

winex11.drv: Improve some XDND log messages.

parent de13e818
...@@ -210,7 +210,7 @@ void X11DRV_XDND_EnterEvent( HWND hWnd, XClientMessageEvent *event ) ...@@ -210,7 +210,7 @@ void X11DRV_XDND_EnterEvent( HWND hWnd, XClientMessageEvent *event )
if (version > WINE_XDND_VERSION) if (version > WINE_XDND_VERSION)
{ {
TRACE("Ignores unsupported version\n"); ERR("ignoring unsupported XDND version %d\n", version);
return; return;
} }
...@@ -345,8 +345,8 @@ void X11DRV_XDND_PositionEvent( HWND hWnd, XClientMessageEvent *event ) ...@@ -345,8 +345,8 @@ void X11DRV_XDND_PositionEvent( HWND hWnd, XClientMessageEvent *event )
effect = DROPEFFECT_COPY; effect = DROPEFFECT_COPY;
} }
TRACE("action req: %ld accept(%d) at x(%d),y(%d)\n", TRACE("actionRequested(%ld) accept(%d) chosen(0x%x) at x(%d),y(%d)\n",
event->data.l[4], accept, XDNDxy.x, XDNDxy.y); event->data.l[4], accept, effect, XDNDxy.x, XDNDxy.y);
/* /*
* Let source know if we're accepting the drop by * Let source know if we're accepting the drop by
...@@ -381,8 +381,6 @@ void X11DRV_XDND_DropEvent( HWND hWnd, XClientMessageEvent *event ) ...@@ -381,8 +381,6 @@ void X11DRV_XDND_DropEvent( HWND hWnd, XClientMessageEvent *event )
int accept = 0; /* Assume we're not accepting */ int accept = 0; /* Assume we're not accepting */
BOOL drop_file = TRUE; BOOL drop_file = TRUE;
TRACE("\n");
/* Notify OLE of Drop */ /* Notify OLE of Drop */
if (XDNDAccepted) if (XDNDAccepted)
{ {
...@@ -441,6 +439,9 @@ void X11DRV_XDND_DropEvent( HWND hWnd, XClientMessageEvent *event ) ...@@ -441,6 +439,9 @@ void X11DRV_XDND_DropEvent( HWND hWnd, XClientMessageEvent *event )
} }
} }
TRACE("effectRequested(0x%x) accept(%d) performed(0x%x) at x(%d),y(%d)\n",
XDNDDropEffect, accept, effect, XDNDxy.x, XDNDxy.y);
X11DRV_XDND_FreeDragDropOp(); X11DRV_XDND_FreeDragDropOp();
/* Tell the target we are finished. */ /* Tell the target we are finished. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment