summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTelesto <telesto@surfxs.nl>2018-01-22 15:16:52 +0200
committerAndras Timar <andras.timar@collabora.com>2018-02-06 15:22:40 +0100
commitbe97780787913e0311888d0031b86c8a552e9973 (patch)
treea279255be6c3dde3caadcc98ebbf307f6f29d0c8 /vcl
parentb0958ff8bf86b86682131b4da99da701a4a72adb (diff)
tdf#114985: Tell NSWindow to never use automatic window tabbing
Based on https://codereview.chromium.org/2325313002/ 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) Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I8838449d57b1d1b010491a405c87645d38199fdf
Diffstat (limited to 'vcl')
-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 4c38466961b0..25a83c74b278 100644
--- a/vcl/osx/vclnsapp.mm
+++ b/vcl/osx/vclnsapp.mm
@@ -75,6 +75,11 @@ SAL_WNODEPRECATED_DECLARATIONS_PUSH
SAL_WNODEPRECATED_DECLARATIONS_POP
if( pEvent )
[NSApp postEvent: pEvent atStart: NO];
+
+ if( [NSWindow respondsToSelector:@selector(allowsAutomaticWindowTabbing)] )
+ {
+ NSWindow.allowsAutomaticWindowTabbing = NO;
+ }
}
-(void)sendEvent:(NSEvent*)pEvent