forked from AuroraMiddleware/gtk
Merge branch 'wip/sadiq/750-gtk4' into 'master'
gtkpopover: Fix popover when parent widget is partially visible Closes #750 See merge request GNOME/gtk!496
This commit is contained in:
commit
ba1644cba1
@ -1134,7 +1134,7 @@ _gtk_popover_update_child_visible (GtkPopover *popover)
|
||||
}
|
||||
|
||||
parent = gtk_widget_get_parent (GTK_WIDGET (priv->parent_scrollable));
|
||||
rect = priv->pointing_to;
|
||||
gtk_popover_get_pointing_to (popover, &rect);
|
||||
|
||||
gtk_widget_translate_coordinates (priv->widget, parent,
|
||||
rect.x, rect.y, &rect.x, &rect.y);
|
||||
|
Loading…
Reference in New Issue
Block a user