Fix condition to deliver root coords

This commit is contained in:
Hans Breuer 2009-07-04 12:10:57 +02:00
parent 23b1b350b0
commit 7e116727d7

View File

@ -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",