Add a cmdq_continue function rather than twiddling the flag directly.

This commit is contained in:
nicm
2019-06-18 11:08:42 +00:00
parent 03da0ced46
commit 9272fe36e2
10 changed files with 19 additions and 11 deletions

2
menu.c
View File

@ -161,7 +161,7 @@ menu_free_cb(struct client *c)
struct menu_data *md = c->overlay_data;
if (md->item != NULL)
md->item->flags &= ~CMDQ_WAITING;
cmdq_continue(md->item);
if (md->cb != NULL)
md->cb(md->menu, UINT_MAX, KEYC_NONE, md->data);