[Libreoffice-commits] core.git: vcl/osx
Telesto
telesto at surfxs.nl
Tue Jan 23 08:19:35 UTC 2018
vcl/osx/vclnsapp.mm | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit ce88f2a7374bb8c53d57e8263e0701db19d62f30
Author: Telesto <telesto at surfxs.nl>
Date: Mon Jan 22 15:16:52 2018 +0200
tdf#114985: Tell NSWindow to never use automatic window tabbing
Based on https://codereview.chromium.org/2325313002/
Change-Id: I8838449d57b1d1b010491a405c87645d38199fdf
Reviewed-on: https://gerrit.libreoffice.org/48330
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Tor Lillqvist <tml at collabora.com>
diff --git a/vcl/osx/vclnsapp.mm b/vcl/osx/vclnsapp.mm
index f805df6959d4..26f826467677 100644
--- a/vcl/osx/vclnsapp.mm
+++ b/vcl/osx/vclnsapp.mm
@@ -75,6 +75,11 @@ SAL_WNODEPRECATED_DECLARATIONS_PUSH
SAL_WNODEPRECATED_DECLARATIONS_POP
assert( pEvent );
[NSApp postEvent: pEvent atStart: NO];
+
+ if( [NSWindow respondsToSelector:@selector(allowsAutomaticWindowTabbing)] )
+ {
+ NSWindow.allowsAutomaticWindowTabbing = NO;
+ }
}
-(void)sendEvent:(NSEvent*)pEvent
More information about the Libreoffice-commits
mailing list