From 72005c81fb072bca0be594e966e1e44bfbb8d246 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 3506d5c6..c11bb09d 100644 --- a/kdecoration/breezedecoration.cpp +++ b/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 ) );