Commit d32deed8 authored by Hugo Pereira Da Costa's avatar Hugo Pereira Da Costa

Set bottom border to zero for shaded windows

parent 41c24a33
......@@ -312,12 +312,13 @@ namespace Breeze
//________________________________________________________________
void Decoration::recalculateBorders()
{
auto c = client().data();
auto s = settings();
// left, right and bottom borders
const int left = isLeftEdge() ? 0 : borderSize();
const int right = isRightEdge() ? 0 : borderSize();
const int bottom = isBottomEdge() ? 0 : borderSize(true);
const int bottom = (c->isShaded() || isBottomEdge()) ? 0 : borderSize(true);
int top = 0;
if( hideTitleBar() ) top = bottom;
......
Markdown is supported
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