inspector: Allow picking insensitive widgets again

Use the new argument to gtk_widget_pick to allow picking
insensitive widgets.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/51
This commit is contained in:
Matthias Clasen 2019-04-07 17:23:17 +00:00
parent de0942b0b8
commit 0e15b4a367

View File

@ -55,7 +55,7 @@ find_widget_at_pointer (GdkDevice *device)
gdk_surface_get_device_position (gtk_widget_get_surface (widget),
device, &x, &y, NULL);
widget = gtk_widget_pick (widget, x, y, 0);
widget = gtk_widget_pick (widget, x, y, GTK_PICK_ALL);
}
return widget;