--- libsexy-0.1.8/libsexy/sexy-tooltip.c	2006/08/06 00:49:16	1.1
+++ libsexy-0.1.8/libsexy/sexy-tooltip.c	2006/08/06 00:49:27
@@ -166,7 +166,7 @@ sexy_tooltip_position_to_widget(SexyTool
 	GdkRectangle rect;
 
 	screen = gtk_widget_get_screen(widget);
-	gdk_window_get_root_origin(widget->window, &x, &y);
+	gdk_window_get_origin(widget->window, &x, &y);
 
 	rect.x = widget->allocation.x + x;
 	rect.y = widget->allocation.y + y;
