diff options
Diffstat (limited to 'pugl/pugl_osx.m')
-rw-r--r-- | pugl/pugl_osx.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m index f3054fd..80bad14 100644 --- a/pugl/pugl_osx.m +++ b/pugl/pugl_osx.m @@ -673,7 +673,9 @@ puglCreateWindow(PuglView* view, const char* title) length:strlen(title) encoding:NSUTF8StringEncoding]; NSRect frame = NSMakeRect(0, 0, view->min_width, view->min_height); - unsigned style = NSClosableWindowMask | NSTitledWindowMask; + unsigned style = (NSClosableWindowMask | + NSTitledWindowMask | + NSMiniaturizableWindowMask ); if (view->hints.resizable) { style |= NSResizableWindowMask; } |