Do not paint the window with the active color

I have the sizegrip to do that, so paint active windows the same color
as inactive windows
wilder-5.18
Jacopo De Simoi 7 years ago
parent 9241606d7c
commit 72005c81fb
  1. 4
      kdecoration/breezedecoration.cpp

@ -552,8 +552,8 @@ namespace Breeze
painter->save();
painter->setRenderHint(QPainter::Antialiasing, false);
painter->setBrush( Qt::NoBrush );
painter->setPen( c->isActive() ?
c->color( ColorGroup::Active, ColorRole::TitleBar ):
painter->setPen( //c->isActive() ?
//c->color( ColorGroup::Active, ColorRole::TitleBar ):
c->color( ColorGroup::Inactive, ColorRole::Foreground ) );
painter->drawRect( rect().adjusted( 0, 0, -1, -1 ) );

Loading…
Cancel
Save