[gtk/pick-insensitive: 3/4] tooltip: Allow tooltips on insensitive widgets again
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/pick-insensitive: 3/4] tooltip: Allow tooltips on insensitive widgets again
- Date: Sun, 7 Apr 2019 13:04:51 +0000 (UTC)
commit f8a3d05ce1801c67df612c8f1aa15e1ce74050d9
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Apr 7 13:01:46 2019 +0000
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
gtk/gtktooltip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c
index 0141b0714f..1faabcbbe9 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, TRUE);
+ picked_widget = gtk_widget_pick (event_widget, surface_x, surface_y, FALSE);
if (picked_widget != NULL)
gtk_widget_translate_coordinates (event_widget, picked_widget, surface_x, surface_y, widget_x, widget_y);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]