From 027c89ca74eaaa7fa8af225d5606e120163dc905 Mon Sep 17 00:00:00 2001 From: AGulev <> Date: Sat, 5 Oct 2024 09:53:06 +0200 Subject: [PATCH] add missed flag --- defos/src/defos_mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defos/src/defos_mac.mm b/defos/src/defos_mac.mm index d06df48..21f921c 100644 --- a/defos/src/defos_mac.mm +++ b/defos/src/defos_mac.mm @@ -97,7 +97,7 @@ void defos_toggle_borderless() { NSUInteger currentStyleMask = [window styleMask]; if (currentStyleMask == NSWindowStyleMaskBorderless) { - [window setStyleMask:NSWindowStyleMaskTitled | NSWindowStyleMaskResizable | NSWindowStyleMaskClosable]; + [window setStyleMask:NSWindowStyleMaskTitled | NSWindowStyleMaskResizable | NSWindowStyleMaskClosable | NSWindowStyleMaskMiniaturizable]; } else { [window setStyleMask:NSWindowStyleMaskBorderless]; }