aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pugl/pugl_osx.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m
index a5fe3c2..f41b118 100644
--- a/pugl/pugl_osx.m
+++ b/pugl/pugl_osx.m
@@ -448,7 +448,7 @@ puglCreateWindow(PuglView* view, const char* title)
NSView* pview = (NSView*)view->transient_parent;
[pview addSubview:impl->glview];
[impl->glview setHidden:NO];
- [impl->glview setLevel: CGShieldingWindowLevel() + 1];
+ [window setLevel: NSStatusWindowLevel];
} else {
NSString* titleString = [[NSString alloc]
initWithBytes:title