aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-11-03 02:08:49 +0100
committerDavid Robillard <d@drobilla.net>2014-12-16 18:31:24 -0500
commitb1086487e4ec33af08c4ba37f9c178b38d598bf8 (patch)
treed4688d76d84fe73af35ebf95569624016e4130f9
parent17ec5954211f0ed87b3e4c83fab0ea487f1d5dfa (diff)
Use status window level for transients on OSX.
Conflicts: pugl/pugl_osx.m
-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