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/newview/llappdelegate-objc.mm | |
parent | 271ca5e08c3441801034dfa219c2ee8579fa03fc (diff) |
MAINT-3569 FIXED Handle window hide/unhide and minimize/unminimize events on mac.
Diffstat (limited to 'indra/newview/llappdelegate-objc.mm')
-rw-r--r-- | indra/newview/llappdelegate-objc.mm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llappdelegate-objc.mm b/indra/newview/llappdelegate-objc.mm index 988058aad3..549df80fa1 100644 --- a/indra/newview/llappdelegate-objc.mm +++ b/indra/newview/llappdelegate-objc.mm @@ -84,6 +84,16 @@ callWindowUnfocus(); } +- (void) applicationDidHide:(NSNotification *)notification +{ + callWindowHide(); +} + +- (void) applicationDidUnhide:(NSNotification *)notification +{ + callWindowUnhide(); +} + - (NSApplicationDelegateReply) applicationShouldTerminate:(NSApplication *)sender { if (!runMainLoop()) |