From 4138779c5e9459a5ef519992be3bec35654f6c74 Mon Sep 17 00:00:00 2001 From: Travis McLane Date: Fri, 18 Sep 2020 07:01:39 -0500 Subject: [PATCH] wip: window size update --- v2/internal/ffenestri/ffenestri_darwin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/v2/internal/ffenestri/ffenestri_darwin.c b/v2/internal/ffenestri/ffenestri_darwin.c index b99846ac..20ff3537 100644 --- a/v2/internal/ffenestri/ffenestri_darwin.c +++ b/v2/internal/ffenestri/ffenestri_darwin.c @@ -334,6 +334,10 @@ void SetSize(struct Application *app, int width, int height) { Debug("frame->size.width %4.1f", frame->size.width); Debug("frame->size.height %4.1f", frame->size.height); + frame->size.width = width; + frame->size.height = height; + msg(app->mainWindow, s("setFrame:display:"), *frame, true); + // Move the window // msg(app->mainWindow, s("setFrame:display:animate:"), *frame, 1, 0); )