summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-10-24 10:09:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-10-24 13:06:00 +0200
commit09dc6fbcd8c441cb7706857ed66d197db9f26254 (patch)
tree1c00859c955d19b1afd094830762980c66a4a653 /vcl
parentfaca390c57841fa15616abdd8a679855971bc6d3 (diff)
Related: tdf#151641 set windows WorkspaceColor similiar to other platforms
from the same bg as the dialog/face, so we get a good "application background" color in dark mode Change-Id: Ieeb29ed1df177a91691b7b83d056af4068d0e170 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141725 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/win/window/salframe.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index 1c31c5ad06a5..4307ed12ecbb 100644
--- a/vcl/win/window/salframe.cxx
+++ b/vcl/win/window/salframe.cxx
@@ -2705,6 +2705,7 @@ void WinSalFrame::UpdateSettings( AllSettings& rSettings )
aStyleSettings.SetHelpColor( ImplWinColorToSal( GetSysColor( COLOR_INFOBK ) ) );
aStyleSettings.SetHelpTextColor( ImplWinColorToSal( GetSysColor( COLOR_INFOTEXT ) ) );
+ aStyleSettings.SetWorkspaceColor(aStyleSettings.GetFaceColor());
aStyleSettings.SetDialogColor(aStyleSettings.GetFaceColor());
aStyleSettings.SetDialogTextColor(aControlTextColor);