More unnecessary arguments now winlink points back to session.

This commit is contained in:
nicm
2017-04-21 14:09:44 +00:00
parent 428be9803c
commit c799425069
5 changed files with 11 additions and 12 deletions

View File

@ -147,7 +147,7 @@ cmd_new_window_exec(struct cmd *self, struct cmdq_item *item)
if (to_free != NULL)
free((void *)to_free);
cmd_find_from_winlink(&fs, s, wl);
cmd_find_from_winlink(&fs, wl);
hooks_insert(s->hooks, item, &fs, "after-new-window");
return (CMD_RETURN_NORMAL);