Commit 91d35f36 authored by Hugo Pereira Da Costa's avatar Hugo Pereira Da Costa
Browse files

Set padding to 0 when client is maximized.

CCBUG: 274177
parent 6c2d5020
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment