summaryrefslogtreecommitdiffstats
path: root/cmd-display-menu.c
diff options
context:
space:
mode:
authornicm <nicm>2019-05-26 17:34:45 +0000
committernicm <nicm>2019-05-26 17:34:45 +0000
commite90d4a6021a45e4f281c75e5513ede2d010ede32 (patch)
treefee53e188a26f7221239aee44cec4b383557d54e /cmd-display-menu.c
parent64310051694fd5c82ccbcff9fda6488ea2dcfb96 (diff)
Add formats for word and line under the mouse and use them to add some
items to the pane menu.
Diffstat (limited to 'cmd-display-menu.c')
-rw-r--r--cmd-display-menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-display-menu.c b/cmd-display-menu.c
index 15b750ee..570eedf2 100644
--- a/cmd-display-menu.c
+++ b/cmd-display-menu.c
@@ -79,7 +79,7 @@ cmd_display_menu_exec(struct cmd *self, struct cmdq_item *item)
title = format_single(NULL, args_get(args, 'T'), c, s, wl, wp);
else
title = xstrdup("");
- menu = menu_create(string, c, fs, title);
+ menu = menu_create(string, item, c, fs, title);
free(title);
if (menu == NULL) {
cmdq_error(item, "invalid menu %s", string);