From 7b949258986710ac2da069970a00ca1f1dba3d6d Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 9 Apr 2013 14:21:48 +0200 Subject: [PATCH] force redraw window if needed in context_wrap --- src/commands.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/commands.cc b/src/commands.cc index 706a4dfd..72b6d347 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -524,6 +524,10 @@ void context_wrap(const CommandParameters& params, Context& context, Func func) } else func(parser, real_context); + + // force redraw of this client window + if (parser.has_option("client") and real_context.has_window()) + real_context.window().forget_timestamp(); } void exec_string(const CommandParameters& params, Context& context)