|
|
@ -24,6 +24,8 @@ WindowImpl::WindowImpl(IAvnWindowEvents *events, IAvnGlContext *gl) : WindowBase |
|
|
_lastTitle = @""; |
|
|
_lastTitle = @""; |
|
|
_parent = nullptr; |
|
|
_parent = nullptr; |
|
|
WindowEvents = events; |
|
|
WindowEvents = events; |
|
|
|
|
|
|
|
|
|
|
|
OnInitialiseNSWindow(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
void WindowImpl::HideOrShowTrafficLights() { |
|
|
void WindowImpl::HideOrShowTrafficLights() { |
|
|
@ -41,6 +43,7 @@ void WindowImpl::HideOrShowTrafficLights() { |
|
|
|
|
|
|
|
|
void WindowImpl::OnInitialiseNSWindow(){ |
|
|
void WindowImpl::OnInitialiseNSWindow(){ |
|
|
[GetWindowProtocol() setCanBecomeKeyWindow:true]; |
|
|
[GetWindowProtocol() setCanBecomeKeyWindow:true]; |
|
|
|
|
|
|
|
|
[Window disableCursorRects]; |
|
|
[Window disableCursorRects]; |
|
|
[Window setTabbingMode:NSWindowTabbingModeDisallowed]; |
|
|
[Window setTabbingMode:NSWindowTabbingModeDisallowed]; |
|
|
[Window setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary]; |
|
|
[Window setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary]; |
|
|
|