Rename cmdq_shared to cmdq_state which will better reflect what it is

(going to be) used for.
This commit is contained in:
nicm
2020-04-13 14:04:25 +00:00
parent 77d5b0cc53
commit 9a65102bfc
24 changed files with 88 additions and 88 deletions

View File

@ -549,7 +549,7 @@ key_bindings_dispatch(struct key_binding *bd, struct cmdq_item *item,
else {
new_item = cmdq_get_command(bd->cmdlist, fs, m, 0);
if (bd->flags & KEY_BINDING_REPEAT)
cmdq_get_shared(new_item)->flags |= CMDQ_SHARED_REPEAT;
cmdq_get_state(new_item)->flags |= CMDQ_STATE_REPEAT;
}
if (item != NULL)
new_item = cmdq_insert_after(item, new_item);