aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_osx.m
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_osx.m')
-rw-r--r--pugl/pugl_osx.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m
index 712f5fc..8e40907 100644
--- a/pugl/pugl_osx.m
+++ b/pugl/pugl_osx.m
@@ -583,7 +583,7 @@ puglCreateWindow(PuglView* view, const char* title)
puglConstraint(impl->glview, NSLayoutAttributeWidth, view->min_width)];
[impl->glview addConstraint:
puglConstraint(impl->glview, NSLayoutAttributeHeight, view->min_height)];
- if (!view->resizable) {
+ if (!view->hints.resizable) {
[impl->glview setAutoresizingMask:NSViewNotSizable];
}
@@ -598,7 +598,7 @@ puglCreateWindow(PuglView* view, const char* title)
encoding:NSUTF8StringEncoding];
NSRect frame = NSMakeRect(0, 0, view->min_width, view->min_height);
unsigned style = NSClosableWindowMask | NSTitledWindowMask;
- if (view->resizable) {
+ if (view->hints.resizable) {
style |= NSResizableWindowMask;
}