aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicm <nicm>2022-03-07 11:52:09 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2022-04-06 14:19:50 +0100
commitd5a84de84293798438989d7894e8001bec8c19f1 (patch)
treecd58e15e6914a66ef433f363e1815492d3ee67ce
parent355ced93cc219897bf3c660e481808c006ffab6a (diff)
downloadrtmux-d5a84de84293798438989d7894e8001bec8c19f1.tar.gz
rtmux-d5a84de84293798438989d7894e8001bec8c19f1.tar.bz2
rtmux-d5a84de84293798438989d7894e8001bec8c19f1.zip
Pass client when adding menu item, GitHub issue 3103.
-rw-r--r--status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/status.c b/status.c
index 79033242..8d702de1 100644
--- a/status.c
+++ b/status.c
@@ -1798,7 +1798,7 @@ status_prompt_complete_window_menu(struct client *c, struct session *s,
item.name = tmp;
item.key = '0' + size - 1;
item.command = NULL;
- menu_add_item(menu, &item, NULL, NULL, NULL);
+ menu_add_item(menu, &item, NULL, c, NULL);
free(tmp);
if (size == height)