wayland: Don't leak all surfaces
authorBenjamin Otte <otte@redhat.com>
Fri, 21 Apr 2023 07:26:23 +0000 (09:26 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Apr 2023 07:26:23 +0000 (09:26 +0200)
commit555c7e9ee2398320d138b2e8178418e2b399778f
treef495795c19185069da5bf0be9eaa44e41b43447c
parent79d8220908c209a4268f29883db121c949b75b1a
wayland: Don't leak all surfaces

X11 does add an extra reference to surfaces that gets released when the
DestroyNotify event arrives.
Wayland doesn't ave such an event, so that reference never gets
released.

This fixes a copy/paste error introduced in commit 590f3dfa1fcb.
gdk/wayland/gdksurface-wayland.c