summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTelesto <telesto@surfxs.nl>2018-01-22 15:16:52 +0200
committerMichael Stahl <mstahl@redhat.com>2018-01-24 16:52:21 +0100
commite406259319054024f032c0d5b7468136c13b3733 (patch)
treecb47a0f6db7ff78ba9f861da8755e22af67d7291
parenttdf#114939 sal: fix endMD5() off-by-one (diff)
downloadcore-e406259319054024f032c0d5b7468136c13b3733.tar.gz
core-e406259319054024f032c0d5b7468136c13b3733.zip
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@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit ce88f2a7374bb8c53d57e8263e0701db19d62f30) Reviewed-on: https://gerrit.libreoffice.org/48384 (cherry picked from commit 5163257c0d194f534887d92c6c9658640eeef3e1) Reviewed-on: https://gerrit.libreoffice.org/48413 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--vcl/osx/vclnsapp.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/osx/vclnsapp.mm b/vcl/osx/vclnsapp.mm
index 473c8d7f9a30..a4f00e32c4f0 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