From d901e70c380e6c2cb099acd9b22706c8b2a8345f Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Thu, 1 Nov 2018 15:43:46 +0100 Subject: [PATCH] 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 --- kdecoration/breezedecoration.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kdecoration/breezedecoration.cpp b/kdecoration/breezedecoration.cpp index 1839c58a..cdda1ca4 100644 --- a/kdecoration/breezedecoration.cpp +++ b/kdecoration/breezedecoration.cpp @@ -563,8 +563,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 ) );