forked from AuroraMiddleware/gtk
widget: Special-case popover in snapshot
Just like we do it for GtkWindow.
This commit is contained in:
parent
1d4d5b2eb9
commit
2651fcbef9
@ -15416,7 +15416,8 @@ gtk_widget_snapshot (GtkWidget *widget,
|
||||
|
||||
_gtk_widget_get_allocation (widget, &allocation);
|
||||
|
||||
if (!GTK_IS_WINDOW (widget))
|
||||
if (!GTK_IS_WINDOW (widget) &&
|
||||
!GTK_IS_POPOVER (widget))
|
||||
{
|
||||
gtk_snapshot_offset (snapshot, margin.left, margin.top);
|
||||
gtk_css_style_snapshot_background (style,
|
||||
|
Loading…
Reference in New Issue
Block a user