forked from AuroraMiddleware/gtk
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:
parent
de0942b0b8
commit
0e15b4a367
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user