|
|
@ -23,6 +23,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() { |
|
|
@ -40,6 +42,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]; |
|
|
|