Browse Source

Modify macOS implementation

Add style flags to window.
master
TheoryOfNekomata 1 year ago
parent
commit
80d8113b4f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main.m

+ 1
- 1
src/main.m View File

@@ -26,7 +26,7 @@ int main() {
.width = WINDOW_WIDTH,
.height = WINDOW_HEIGHT
},
.style_flags = CBR_WINDOW_STYLE_FLAG_TITLED,
.style_flags = CBR_WINDOW_STYLE_FLAG_TITLED | CBR_WINDOW_STYLE_FLAG_CLOSABLE | CBR_WINDOW_STYLE_FLAG_RESIZABLE | CBR_WINDOW_STYLE_FLAG_MINIATURIZABLE | CBR_WINDOW_STYLE_FLAG_FULL_SCREEN,
.title = [applicationName cStringUsingEncoding:NSUTF8StringEncoding]
});
[NSApp activateIgnoringOtherApps:YES];


Loading…
Cancel
Save