gtk+ r18663 - in trunk: . gtk



Author: kristian
Date: 2007-08-21 11:52:43 +0100 (Tue, 21 Aug 2007)
New Revision: 18663
ViewCVS link: http://svn.gnome.org/viewcvs/gtk+?rev=18663&view=rev

Modified:
   trunk/ChangeLog
   trunk/gtk/gtktooltip.c
Log:
2007-08-21  Kristian Rietveld  <kris imendio com>

	Fix #457642, reported by Christian Persch.

	* gtk/gtktooltip.c: added debugging output which can be compiled
	in with a #define, annotated all coordinate translations in the
	source code,
	(find_widget_under_pointer): remove the "no-window correction";
	always convert the coordinates from window relative to allocation
	relative; after recursing through a container, translate the
	coordinates from container allocation relative to child widget
	allocation relative;
	(find_topmost_widget_from_event): now we get allocation relative
	coordinates here we do not have to distinguish no-window and window
	widgets.






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