From f181e2d67ce2602834ee52a0e7b1a8327beaac47 Mon Sep 17 00:00:00 2001 From: Daniel Collin Date: Sat, 7 Dec 2019 20:11:11 +0100 Subject: [PATCH] Fixed resize not working on macOS --- src/native/macosx/MacMiniFB.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/native/macosx/MacMiniFB.m b/src/native/macosx/MacMiniFB.m index 8c601dd..a0b5ada 100644 --- a/src/native/macosx/MacMiniFB.m +++ b/src/native/macosx/MacMiniFB.m @@ -173,7 +173,7 @@ void* mfb_open(const char* name, int width, int height, uint32_t flags, int scal s_init = true; } - NSWindowStyleMask styles = NSWindowStyleMaskClosable | NSWindowStyleMaskResizable; + NSWindowStyleMask styles = NSWindowStyleMaskClosable; if (flags & WINDOW_BORDERLESS) styles |= NSWindowStyleMaskBorderless;