mirror of
https://github.com/tmux/tmux.git
synced 2025-01-26 07:58:55 +00:00
Use the right winlink pointer in new-window.
This commit is contained in:
parent
4a3ac3bd26
commit
f3fcf977e4
@ -104,7 +104,7 @@ cmd_new_window_exec(struct cmd *self, struct cmdq_item *item)
|
||||
free(cp);
|
||||
}
|
||||
|
||||
cmd_find_from_winlink(&fs, wl, 0);
|
||||
cmd_find_from_winlink(&fs, new_wl, 0);
|
||||
hooks_insert(s->hooks, item, &fs, "after-new-window");
|
||||
|
||||
return (CMD_RETURN_NORMAL);
|
||||
|
Loading…
Reference in New Issue
Block a user