From c7f87d49d74b2e1e33fde81b241a3ca043c3de0f Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Mon, 30 May 2011 17:56:50 +0200 Subject: [PATCH] Set padding to 0 when client is maximized. CCBUG: 274177 --- clients/oxygen/oxygenclient.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);