From 0f4e471e28941e65adc68561ffb861dd4a8345a0 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 7 Mar 2022 11:52:09 +0000 Subject: [PATCH] Pass client when adding menu item, GitHub issue 3103. --- usr.bin/tmux/status.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/tmux/status.c b/usr.bin/tmux/status.c index c4e0b456791..5d8ff237442 100644 --- a/usr.bin/tmux/status.c +++ b/usr.bin/tmux/status.c @@ -1,4 +1,4 @@ -/* $OpenBSD: status.c,v 1.232 2022/02/03 10:07:11 nicm Exp $ */ +/* $OpenBSD: status.c,v 1.233 2022/03/07 11:52:09 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -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) -- 2.20.1