[gtk+] More meaningful debugging output in gdk_win32_window_get_root_coords



commit f545bd270dd08cf510a2549a3836a42fbec6e766
Author: Tor Lillqvist <tml iki fi>
Date:   Sun Oct 18 12:06:29 2009 +0300

    More meaningful debugging output in gdk_win32_window_get_root_coords

 gdk/win32/gdkwindow-win32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c
index 45cf965..9b21db3 100644
--- a/gdk/win32/gdkwindow-win32.c
+++ b/gdk/win32/gdkwindow-win32.c
@@ -2071,7 +2071,7 @@ gdk_win32_window_get_root_coords (GdkWindow *window,
   GDK_NOTE (MISC, g_print ("gdk_win32_window_get_root_coords: %p: %+d%+d %+d%+d\n",
 			   GDK_WINDOW_HWND (window),
 			   x, y,
-			   tx, ty));
+			   tx + _gdk_offset_x, ty + _gdk_offset_y));
   return 1;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]