From 96c7dedacb8c41e3be301ac9db1091d45a1a6238 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Thu, 3 Mar 2011 10:35:56 +0100 Subject: [PATCH] Added background pixmap offset to properly align decoration background and style background. --- clients/oxygen/oxygenfactory.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/oxygen/oxygenfactory.cpp b/clients/oxygen/oxygenfactory.cpp index 22f10b09a1..47ec4f8923 100644 --- a/clients/oxygen/oxygenfactory.cpp +++ b/clients/oxygen/oxygenfactory.cpp @@ -138,6 +138,8 @@ namespace Oxygen // read shadowCache configuration changed |= shadowCache().readConfig( config ); + if( changed ) + { helper().setBackgroundPixmapOffset( QPoint( shadowCache().shadowSize(), 0 ) ); } return changed;