From b1086487e4ec33af08c4ba37f9c178b38d598bf8 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 3 Nov 2014 02:08:49 +0100 Subject: Use status window level for transients on OSX. Conflicts: pugl/pugl_osx.m --- pugl/pugl_osx.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3