Repaint decoration after configuration change when it doesn't need a reset.
svn path=/trunk/KDE/kdebase/workspace/; revision=788371
This commit is contained in:
parent
da0b861690
commit
fbbe94753e
3 changed files with 9 additions and 0 deletions
|
@ -410,6 +410,12 @@ bool Client::checkBorderSizes( bool also_resize )
|
|||
return true;
|
||||
}
|
||||
|
||||
void Client::repaintDecoration()
|
||||
{
|
||||
if( decoration != NULL )
|
||||
decoration->widget()->update();
|
||||
}
|
||||
|
||||
void Client::detectNoBorder()
|
||||
{
|
||||
if( shape())
|
||||
|
|
1
client.h
1
client.h
|
@ -196,6 +196,7 @@ class Client
|
|||
|
||||
void updateDecoration( bool check_workspace_pos, bool force = false );
|
||||
bool checkBorderSizes( bool also_resize );
|
||||
void repaintDecoration();
|
||||
|
||||
void updateShape();
|
||||
|
||||
|
|
|
@ -1011,6 +1011,8 @@ void Workspace::slotReconfigure()
|
|||
else
|
||||
{
|
||||
forEachClient( CheckBorderSizesProcedure());
|
||||
foreach( Client* c, clients )
|
||||
c->repaintDecoration();
|
||||
}
|
||||
|
||||
if( options->electricBorders() == Options::ElectricAlways )
|
||||
|
|
Loading…
Reference in a new issue