Module: wine Branch: master Commit: 81538ebb6dd4bed43006084a1514c1c96095a712 URL: http://source.winehq.org/git/wine.git/?a=commit;h=81538ebb6dd4bed43006084a15...
Author: Hadrien Boizard h.boizard@gmail.com Date: Wed Jul 6 00:54:09 2016 +0200
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
---
dlls/winex11.drv/mouse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c index 677acfa..7287753 100644 --- a/dlls/winex11.drv/mouse.c +++ b/dlls/winex11.drv/mouse.c @@ -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;