[gtk+] Fix condition to deliver root coords
- From: Hans Breuer <hans src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+] Fix condition to deliver root coords
- Date: Sat, 4 Jul 2009 10:47:35 +0000 (UTC)
commit 7e116727d750bf419c3d1feaa1d24c9718b022cd
Author: Hans Breuer <hans breuer org>
Date: Sat Jul 4 12:10:57 2009 +0200
Fix condition to deliver root coords
gdk/win32/gdkwindow-win32.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c
index 76e8515..c72bc06 100644
--- a/gdk/win32/gdkwindow-win32.c
+++ b/gdk/win32/gdkwindow-win32.c
@@ -2089,9 +2089,9 @@ gdk_win32_window_get_root_coords (GdkWindow *window,
tx = pt.x;
ty = pt.y;
- if (x)
+ if (root_x)
*root_x = tx + _gdk_offset_x;
- if (y)
+ if (root_y)
*root_y = ty + _gdk_offset_y;
GDK_NOTE (MISC, g_print ("gdk_window_get_root_coords: %p: %+d%+d %+d%+d\n",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]