x11: Always update shadow size
authorBenjamin Otte <otte@redhat.com>
Thu, 26 May 2022 02:36:14 +0000 (04:36 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 26 May 2022 02:38:29 +0000 (04:38 +0200)
commit213490099b7d24664ac635f25c9cf224d6a3e702
tree8ea145cb8c555ad955a9f01fa43ef243c1b0adb5
parentf77f941401864c698446f1ce1e36e65d7209897f
x11: Always update shadow size

Not updating shadow size unconditionally would lead to shadow size not
being set on map, which would lead mutter to think that we are a Window
without extents and then become confused when we suddenly set some.

Make sure that doesn't happen by always having shadows set on map, just
like GTK3.

Fixes #4136
gdk/x11/gdksurface-x11.c