Commit 7e116727 authored by Hans Breuer's avatar Hans Breuer

Fix condition to deliver root coords

parent 23b1b350
......@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment