forked from AuroraMiddleware/gtk
tooltip: Allow tooltips on insensitive widgets again
Use the new argument to gtk_widget_pick to allow picking insensitive widgets. Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1816
This commit is contained in:
parent
b804235aea
commit
de0942b0b8
@ -434,7 +434,7 @@ _gtk_widget_find_at_coords (GdkSurface *surface,
|
||||
if (!event_widget)
|
||||
return NULL;
|
||||
|
||||
picked_widget = gtk_widget_pick (event_widget, surface_x, surface_y, 0);
|
||||
picked_widget = gtk_widget_pick (event_widget, surface_x, surface_y, GTK_PICK_ALL);
|
||||
|
||||
if (picked_widget != NULL)
|
||||
gtk_widget_translate_coordinates (event_widget, picked_widget, surface_x, surface_y, widget_x, widget_y);
|
||||
|
Loading…
Reference in New Issue
Block a user