mirror of
https://github.com/tmux/tmux.git
synced 2025-09-20 10:18:20 +00:00
Use the right winlink pointer in new-window.
This commit is contained in:
@@ -104,7 +104,7 @@ cmd_new_window_exec(struct cmd *self, struct cmdq_item *item)
|
|||||||
free(cp);
|
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");
|
hooks_insert(s->hooks, item, &fs, "after-new-window");
|
||||||
|
|
||||||
return (CMD_RETURN_NORMAL);
|
return (CMD_RETURN_NORMAL);
|
||||||
|
Reference in New Issue
Block a user