macos: Move native window creation to ::constructed()
authorBenjamin Otte <otte@redhat.com>
Thu, 20 Apr 2023 15:38:57 +0000 (17:38 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 26 Apr 2023 19:03:34 +0000 (21:03 +0200)
commita306401023f8c736e868fe9ed633ab2fef854057
tree8827e7ab05bc0e4f195f53b0d5b6a41c8b7637c5
parent7e18a1cea7b265703dfdbe779559c3c65e9092c3
macos: Move native window creation to ::constructed()

That way, it doesn't need a specific init function.

Also chain up last, so that the generic initialization code in
GdkSurface::constructed can access a fully initialized macos surface.
gdk/macos/gdkmacosdragsurface-private.h
gdk/macos/gdkmacosdragsurface.c
gdk/macos/gdkmacospopupsurface.c
gdk/macos/gdkmacossurface-private.h
gdk/macos/gdkmacossurface.c
gdk/macos/gdkmacostoplevelsurface-private.h
gdk/macos/gdkmacostoplevelsurface.c