forked from AuroraMiddleware/gtk
Fix condition to deliver root coords
This commit is contained in:
parent
23b1b350b0
commit
7e116727d7
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user