gnumeric r17166 - in trunk: . src



Author: mortenw
Date: Wed Feb 25 14:55:29 2009
New Revision: 17166
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17166&view=rev

Log:
2009-02-25  Morten Welinder  <terra gnome org>

	* src/gui-util.c (gnumeric_position_tooltip): Make this multihead
	safe too.



Modified:
   trunk/ChangeLog
   trunk/src/gui-util.c

Modified: trunk/src/gui-util.c
==============================================================================
--- trunk/src/gui-util.c	(original)
+++ trunk/src/gui-util.c	Wed Feb 25 14:55:29 2009
@@ -464,7 +464,8 @@
 	int  x, y;
 
 	gtk_widget_size_request (tip, &req);
-	gdk_window_get_pointer (NULL, &x, &y, NULL);
+	gdk_window_get_pointer (gdk_screen_get_root_window (gtk_widget_get_screen (tip)),
+				&x, &y, NULL);
 
 	if (horizontal){
 		x -= req.width / 2;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]