As long as the inactive window font can't be configured, use the active window
font for inactive windows too. svn path=/trunk/kdebase/kwin/; revision=69261
This commit is contained in:
parent
c00caa16d8
commit
ff6b3156c4
1 changed files with 2 additions and 2 deletions
|
@ -737,8 +737,8 @@ void KDEClient::paintEvent( QPaintEvent* )
|
||||||
options->color(Options::TitleBar, false));
|
options->color(Options::TitleBar, false));
|
||||||
}
|
}
|
||||||
r = titlebar->geometry();
|
r = titlebar->geometry();
|
||||||
QFontMetrics fm(options->font(false));
|
QFontMetrics fm(options->font(true)); // font(false) doesn't work yet.
|
||||||
p.setFont(options->font(false));
|
p.setFont(options->font(true));
|
||||||
p.setPen(options->color(Options::Font, false));
|
p.setPen(options->color(Options::Font, false));
|
||||||
p.drawText(r.x(), r.y(), r.width(), r.height()-1,
|
p.drawText(r.x(), r.y(), r.width(), r.height()-1,
|
||||||
AlignLeft, caption() );
|
AlignLeft, caption() );
|
||||||
|
|
Loading…
Reference in a new issue