diff options
author | nicm <nicm> | 2016-11-23 17:01:24 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-11-23 17:01:24 +0000 |
commit | 6de466cf8b665d8725301307c57f6d8cb2e65a3f (patch) | |
tree | 009c808ba29641f5c0b7bfbb17917be011cfaab2 /key-bindings.c | |
parent | 24916f2f6e4480143f0de026a727cc524fb797a8 (diff) |
For mouse keys, use the mouse pane as the default current pane.
Diffstat (limited to 'key-bindings.c')
-rw-r--r-- | key-bindings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/key-bindings.c b/key-bindings.c index d07c7b49..9bc61b62 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -396,7 +396,7 @@ key_bindings_read_only(struct cmdq_item *item, __unused void *data) void key_bindings_dispatch(struct key_binding *bd, struct client *c, - struct mouse_event *m) + struct mouse_event *m, struct cmd_find_state *fs) { struct cmd *cmd; int readonly; @@ -409,5 +409,5 @@ key_bindings_dispatch(struct key_binding *bd, struct client *c, if (!readonly && (c->flags & CLIENT_READONLY)) cmdq_append(c, cmdq_get_callback(key_bindings_read_only, NULL)); else - cmdq_append(c, cmdq_get_command(bd->cmdlist, NULL, m, 0)); + cmdq_append(c, cmdq_get_command(bd->cmdlist, fs, m, 0)); } |