widget: Skip popovers in allocation
authorMatthias Clasen <mclasen@redhat.com>
Wed, 8 Mar 2023 18:36:42 +0000 (13:36 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 8 Mar 2023 18:40:51 +0000 (13:40 -0500)
commit2f273ba76a46dfe539f25f5fac5f15dc43a4f1c6
treee64adabe7f12843e8bcdab139b3abb27da115903
parenta2d14632de52ec0506240b782405fdbd0c8f33ba
widget: Skip popovers in allocation

Native widgets get allocated via their surface,
so can skip them here. This avoids criticals when
re-mapping a popover for the second time, as can
be seen e.g. in the 'Selections' demo in gtk4-demo.
gtk/gtkwidget.c