GNOME Bugzilla – Bug 699239
Choose DnD/tooltip widget better on GtkOverlay and other layered containers
Last modified: 2013-05-13 01:16:30 UTC
Created attachment 242822 [details] [review] patch _gtk_widget_find_at_coords() in gtktooltip.c ends up recursing through children using gtk_container_forall(). As usually implementations of that function return children in an order suitable for draw(), those must be run in reverse order in that function in order to find the widget that would render last on that position (=topmost). As this function is used in both drag n' drop and tooltips, the behavior of both features on overlayed widgets is fixed with the patch I'm attaching
Review of attachment 242822 [details] [review]: ok, improves the situation for now. Eventually, having proper accessors for children in z order would be nice