diff --git a/clients/nitrogen/nitrogenbutton.cpp b/clients/nitrogen/nitrogenbutton.cpp index 190782607d..3e56762316 100644 --- a/clients/nitrogen/nitrogenbutton.cpp +++ b/clients/nitrogen/nitrogenbutton.cpp @@ -146,7 +146,7 @@ namespace Nitrogen client_.renderWindowBackground( &painter, rect(), this, palette ); if( client_.isActive() && client_.configuration().drawTitleOutline() && !client_.isMaximized() ) - { client_.renderWindowBorder( &painter, rect(), this, palette ); } + { client_.renderWindowBorder( &painter, rect(), this, client_.backgroundPalette( this, palette ) ); } // draw dividing line painter.setRenderHints(QPainter::Antialiasing);