diff --git a/client.cpp b/client.cpp index 75534969da..07ae3d59c1 100644 --- a/client.cpp +++ b/client.cpp @@ -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()) diff --git a/client.h b/client.h index 57c7ee03d3..d86bcfcc63 100644 --- a/client.h +++ b/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(); diff --git a/workspace.cpp b/workspace.cpp index a8094e233d..b23dcc9988 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -1011,6 +1011,8 @@ void Workspace::slotReconfigure() else { forEachClient( CheckBorderSizesProcedure()); + foreach( Client* c, clients ) + c->repaintDecoration(); } if( options->electricBorders() == Options::ElectricAlways )