Skip to content

Commit

Permalink
add missed flag
Browse files Browse the repository at this point in the history
  • Loading branch information
AGulev committed Oct 5, 2024
1 parent 61a4954 commit 027c89c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defos/src/defos_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
Expand Down

0 comments on commit 027c89c

Please sign in to comment.