mirror of
https://github.com/tmux/tmux.git
synced 2026-04-16 03:56:28 +00:00
Include window bits for pane notifications, GitHub issue 5007 from Saul
Nogueras.
This commit is contained in:
6
notify.c
6
notify.c
@@ -209,8 +209,12 @@ notify_add(const char *name, struct cmd_find_state *fs, struct client *c,
|
||||
format_add(ne->formats, "hook_window", "@%u", w->id);
|
||||
format_add(ne->formats, "hook_window_name", "%s", w->name);
|
||||
}
|
||||
if (wp != NULL)
|
||||
if (wp != NULL) {
|
||||
format_add(ne->formats, "hook_pane", "%%%d", wp->id);
|
||||
format_add(ne->formats, "hook_window", "@%u", wp->window->id);
|
||||
format_add(ne->formats, "hook_window_name", "%s",
|
||||
wp->window->name);
|
||||
}
|
||||
format_log_debug(ne->formats, __func__);
|
||||
|
||||
if (c != NULL)
|
||||
|
||||
Reference in New Issue
Block a user