• Kristian Rietveld's avatar
    translate coordinates from the window they were received on to the event · 5e59105e
    Kristian Rietveld authored
    2007-05-23  Kristian Rietveld  <kris@imendio.com>
    
    	* gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
    	from the window they were received on to the event widget's window;
    	correct for no-window widgets after that, bail out on failure.  This
    	makes the coordinates given by GtkWidget::query-tooltip truly relative
    	to widget->window.  (#435188).
    
    	* gtk/gtkwidget.c (gtk_widget_class_init): update docs for
    	GtkWidget::query-tooltip.
    
    
    svn path=/trunk/; revision=17896
    5e59105e
gtktooltip.c 26 KB