vcl/osx/salframe.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d8fc89cdfd0043838c4bc2d3b5a50bf5abfc6738
Author:     Thorsten Wagner <thorsten.wagne...@gmail.com>
AuthorDate: Fri Mar 5 23:38:12 2021 +0100
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Sat Mar 6 07:18:07 2021 +0100

    tdf#138314 Change selected tab text color on macOS Big Sur
    
    Change text color of selected tabs starting with macOS 10.16 (not with
    macOS 11.0) to ensure compatibilty with macOS SDKs prior to 11 used
    within LibreOffice build process
    
    The version check used in commit 058ad4b900b5e0ee902f3e89ed121c2b5f8c58f1
    is amended by this change.
    
    Change-Id: I4814e8edd9aa11794a9fb1b1eaa391451bde4487
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112036
    Tested-by: Jenkins
    Reviewed-by: Tor Lillqvist <t...@collabora.com>

diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index c00a976db96a..650526ad08c6 100644
--- a/vcl/osx/salframe.cxx
+++ b/vcl/osx/salframe.cxx
@@ -1328,7 +1328,7 @@ SAL_WNODEPRECATED_DECLARATIONS_POP
     // used for selected tab text. As a workaround the current OS version has 
to be considered. This code has to be reviewed once
     // issue is covered by documentation.
 
-    NSOperatingSystemVersion aOSVersion = { .majorVersion = 11, .minorVersion 
= 0, .patchVersion = 0 };
+    NSOperatingSystemVersion aOSVersion = { .majorVersion = 10, .minorVersion 
= 16, .patchVersion = 0 };
     if ([NSProcessInfo.processInfo isOperatingSystemAtLeastVersion: 
aOSVersion])
         aStyleSettings.SetTabHighlightTextColor(aSelectedControlTextColor);
     else
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to