summaryrefslogtreecommitdiffstats
path: root/menu.c
diff options
context:
space:
mode:
authornicm <nicm>2019-06-18 11:08:42 +0000
committernicm <nicm>2019-06-18 11:08:42 +0000
commit9272fe36e2e36789342337d81914008826499941 (patch)
tree754612843b49e5d1546b5f81cf3d969b6a666290 /menu.c
parent03da0ced46e0ddcfbdcc6d580d906f47279cabcd (diff)
Add a cmdq_continue function rather than twiddling the flag directly.
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index fd35399b..cc21c796 100644
--- a/menu.c
+++ b/menu.c
@@ -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);