mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Need to set clients in context before changing their reference count.
This commit is contained in:
@ -266,8 +266,7 @@ key_bindings_dispatch(struct key_binding *bd, struct client *c)
|
||||
struct cmd *cmd;
|
||||
int readonly;
|
||||
|
||||
ctx = cmd_get_ctx();
|
||||
ctx->curclient = c;
|
||||
ctx = cmd_get_ctx(NULL, c);
|
||||
ctx->error = key_bindings_error;
|
||||
ctx->print = key_bindings_print;
|
||||
ctx->info = key_bindings_info;
|
||||
|
Reference in New Issue
Block a user