diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2014-09-11 11:59:19 +0300 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2014-09-11 11:59:19 +0300 |
commit | c62ac0cae77a4dbe7807c7638af5dc708f8c5933 (patch) | |
tree | e3b39831f2c8f038a7f57f0eab486423eab7a4e7 /indra/llwindow/llwindowmacosx.cpp | |
parent | 271ca5e08c3441801034dfa219c2ee8579fa03fc (diff) |
MAINT-3569 FIXED Handle window hide/unhide and minimize/unminimize events on mac.
Diffstat (limited to 'indra/llwindow/llwindowmacosx.cpp')
-rwxr-xr-x | indra/llwindow/llwindowmacosx.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp index 18d5152015..e8d0a8bdb8 100755 --- a/indra/llwindow/llwindowmacosx.cpp +++ b/indra/llwindow/llwindowmacosx.cpp @@ -349,6 +349,22 @@ void callWindowUnfocus() gWindowImplementation->getCallbacks()->handleFocusLost(gWindowImplementation); } +void callWindowHide() +{ + if ( gWindowImplementation && gWindowImplementation->getCallbacks() ) + { + gWindowImplementation->getCallbacks()->handleActivate(gWindowImplementation, false); + } +} + +void callWindowUnhide() +{ + if ( gWindowImplementation && gWindowImplementation->getCallbacks() ) + { + gWindowImplementation->getCallbacks()->handleActivate(gWindowImplementation, true); + } +} + void callDeltaUpdate(float *delta, MASK mask) { gWindowImplementation->updateMouseDeltas(delta); |