| commit | 18630ff2f994629d1e409b34e8486f2b59a4f109 | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Fri Sep 30 09:17:01 2022 +0100 |
| committer | Xisco Fauli <xiscofauli@libreoffice.org> | Mon Oct 03 12:28:39 2022 +0200 |
| tree | 3590035e31a75cef9ee07bf5798d943ad2b8c82f | |
| parent | a2838a17498001c07b365d2087239710e7f0473a [diff] |
tdf#143673 set an explicit drawing area bg noticed in gtk darkmode on switching from initial application to start center Change-Id: I1cffab97ecd69ca6043531a6b2b5fc34b1ca84f1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140789 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit a091ae213eb8d64c21361969775b76e7911cc1af) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140755 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index cde9a75..6d8c2bb 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx
@@ -73,6 +73,11 @@ public: virtual void SetDrawingArea(weld::DrawingArea* pDrawingArea) override { weld::CustomWidgetController::SetDrawingArea(pDrawingArea); const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings(); OutputDevice& rDevice = pDrawingArea->get_ref_device(); rDevice.SetBackground(Wallpaper(rStyleSettings.GetWindowColor())); SetPointer(PointerStyle::RefHand); }