diff --git a/clients/oxygen/oxygenclient.cpp b/clients/oxygen/oxygenclient.cpp index b28f1a44f3..2a04f33a7d 100644 --- a/clients/oxygen/oxygenclient.cpp +++ b/clients/oxygen/oxygenclient.cpp @@ -371,7 +371,8 @@ namespace Oxygen case LM_OuterPaddingRight: case LM_OuterPaddingTop: case LM_OuterPaddingBottom: - return shadowCache().shadowSize(); + if( maximized ) return 0; + else return shadowCache().shadowSize(); default: return KCommonDecoration::layoutMetric(lm, respectWindowState, btn);