summaryrefslogtreecommitdiff
path: root/vcl/source/window/dockingarea.cxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-01-17 16:40:24 +0100
committerJan Holesovsky <kendy@suse.cz>2013-01-17 17:11:12 +0100
commitc8ea31264f25ef789b66fc9c988f695342eb2f7a (patch)
treeefe5d95da32a00567cf567b86dfdec3740dc805e /vcl/source/window/dockingarea.cxx
parentdbf3077f72881ec44e0bb33c9ffbf6363c381862 (diff)
Personas: Fix fdo#59208 - get rid of artifacts when we run out of bitmap.
So far I am using the same color that is used for the workspace; should it be a problem, we can use a different color. Change-Id: I06fde7f31a9d37d2e387a7e3fd0b6d3d33f8d6e6
Diffstat (limited to 'vcl/source/window/dockingarea.cxx')
-rw-r--r--vcl/source/window/dockingarea.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/window/dockingarea.cxx b/vcl/source/window/dockingarea.cxx
index e20265ded966..c79c226a8e22 100644
--- a/vcl/source/window/dockingarea.cxx
+++ b/vcl/source/window/dockingarea.cxx
@@ -55,6 +55,7 @@ static void ImplInitBackground( DockingAreaWindow* pThis )
{
Wallpaper aWallpaper( rPersonaBitmap );
aWallpaper.SetStyle( WALLPAPER_TOPRIGHT );
+ aWallpaper.SetColor( Application::GetSettings().GetStyleSettings().GetWorkspaceColor() );
// we need to shift the bitmap vertically so that it spans over the
// menubar conveniently