[Libreoffice-commits] core.git: Branch 'libreoffice-6-0' - vcl/osx

Telesto telesto at surfxs.nl
Tue Jan 23 13:18:44 UTC 2018


 vcl/osx/vclnsapp.mm |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 5163257c0d194f534887d92c6c9658640eeef3e1
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>
    (cherry picked from commit ce88f2a7374bb8c53d57e8263e0701db19d62f30)
    Reviewed-on: https://gerrit.libreoffice.org/48384

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


More information about the Libreoffice-commits mailing list