winex11.drv: Use wine_dbgstr_point in TRACES.

Signed-off-by: Hadrien Boizard <h.boizard@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hadrien Boizard 2016-07-06 00:54:09 +02:00 committed by Alexandre Julliard
parent 648cbf63c0
commit 81538ebb6d
1 changed files with 2 additions and 2 deletions

View File

@ -1388,7 +1388,7 @@ BOOL CDECL X11DRV_GetCursorPos(LPPOINT pos)
{
POINT old = *pos;
*pos = root_to_virtual_screen( winX, winY );
TRACE( "pointer at (%d,%d) server pos %d,%d\n", pos->x, pos->y, old.x, old.y );
TRACE( "pointer at %s server pos %s\n", wine_dbgstr_point(pos), wine_dbgstr_point(&old) );
}
return ret;
}
@ -1458,7 +1458,7 @@ void move_resize_window( HWND hwnd, int dir )
else if (GetKeyState( VK_MBUTTON ) & 0x8000) button = 2;
else if (GetKeyState( VK_RBUTTON ) & 0x8000) button = 3;
TRACE( "hwnd %p/%lx, x %d, y %d, dir %d, button %d\n", hwnd, win, pos.x, pos.y, dir, button );
TRACE( "hwnd %p/%lx, pos %s, dir %d, button %d\n", hwnd, win, wine_dbgstr_point(&pos), dir, button );
xev.xclient.type = ClientMessage;
xev.xclient.window = win;