vcl/win/window/salframe.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 09dc6fbcd8c441cb7706857ed66d197db9f26254 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Oct 24 10:09:52 2022 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Oct 24 13:06:00 2022 +0200
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 <caol...@redhat.com> 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);