diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-04-07 17:23:06 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-04-07 17:23:06 +0000 |
commit | de0942b0b89fa044bceb3116580bb762b488d872 (patch) | |
tree | ef6d789c24fdc2a6e2dabbfe115e6235511175b2 /gtk/gtktooltip.c | |
parent | b804235aea791a65f1c50668c4bc43d27a4922e8 (diff) | |
download | gtk+-de0942b0b89fa044bceb3116580bb762b488d872.tar.gz |
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
Diffstat (limited to 'gtk/gtktooltip.c')
-rw-r--r-- | gtk/gtktooltip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c index fafc80c8be..3d5a9d0aac 100644 --- a/gtk/gtktooltip.c +++ b/gtk/gtktooltip.c @@ -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); |