macos: fix resize when using server-side decorations

If we are using NSWindow titled windows, we don't end up waking up the
frame clock when the window is resized on the display server. This ensures
that we do that after getting a notification of resize.
This commit is contained in:
Christian Hergert 2022-03-10 18:58:10 -08:00 committed by Christian Hergert
parent 4bc593c761
commit 023bf9aea7

View File

@ -380,6 +380,7 @@ typedef NSString *CALayerContentsGravity;
-(void)windowDidResize:(NSNotification *)notification
{
_gdk_macos_surface_configure ([self gdkSurface]);
gdk_surface_request_layout (GDK_SURFACE (gdk_surface));
}
/* Used by gdkmacosdisplay-translate.c to decide if our sendEvent() handler