force redraw window if needed in context_wrap

This commit is contained in:
Maxime Coste 2013-04-09 14:21:48 +02:00
parent 624c112d08
commit 7b94925898

View File

@ -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)