summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-06-30 19:12:25 +0100
committerMaxime Coste <frrrwww@gmail.com>2015-06-30 19:12:25 +0100
commit58d115ec88a792d10e08735f640d2a839baa529f (patch)
treee583a453ca797738085ca918dc7e1e1eed16a539 /src
parent670d8f7d1ebbe5a1eb6cc6a37691c2e2a791c578 (diff)
Force redraw all clients after a face changed
Diffstat (limited to 'src')
-rw-r--r--src/commands.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commands.cc b/src/commands.cc
index 2da6688e..b1f5cabe 100644
--- a/src/commands.cc
+++ b/src/commands.cc
@@ -1504,6 +1504,9 @@ const CommandDesc face_cmd = {
[](const ParametersParser& parser, Context& context)
{
FaceRegistry::instance().register_alias(parser[0], parser[1], true);
+
+ for (auto& client : ClientManager::instance())
+ client->window().force_redraw();
}
};