wayland: Don't leak all surfaces
authorBenjamin Otte <otte@redhat.com>
Sun, 16 Apr 2023 02:39:21 +0000 (04:39 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 16 Apr 2023 17:28:21 +0000 (19:28 +0200)
commit62951c72770107e9eb45dd476fda83cb38b84f67
tree6bf7cad2c1abf8aaf7eb94ee47cd54ddf6b6f057
parent8e00f6e5e504c8076d4e2d1fdf011772bfc3b6b1
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