artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9699517
)
Pass client when adding menu item, GitHub issue 3103.
author
nicm
<nicm@openbsd.org>
Mon, 7 Mar 2022 11:52:09 +0000
(11:52 +0000)
committer
nicm
<nicm@openbsd.org>
Mon, 7 Mar 2022 11:52:09 +0000
(11:52 +0000)
usr.bin/tmux/status.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/status.c
b/usr.bin/tmux/status.c
index
c4e0b45
..
5d8ff23
100644
(file)
--- a/
usr.bin/tmux/status.c
+++ b/
usr.bin/tmux/status.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: status.c,v 1.23
2 2022/02/03 10:07:11
nicm Exp $ */
+/* $OpenBSD: status.c,v 1.23
3 2022/03/07 11:52:09
nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@
-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)