From c799425069d02675474cda312fac1457829052fb Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 21 Apr 2017 14:09:44 +0000 Subject: More unnecessary arguments now winlink points back to session. --- notify.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'notify.c') diff --git a/notify.c b/notify.c index bf984211..446e71e7 100644 --- a/notify.c +++ b/notify.c @@ -184,12 +184,12 @@ notify_session(const char *name, struct session *s) } void -notify_winlink(const char *name, struct session *s, struct winlink *wl) +notify_winlink(const char *name, struct winlink *wl) { struct cmd_find_state fs; - cmd_find_from_winlink(&fs, s, wl); - notify_add(name, &fs, NULL, s, wl->window, NULL); + cmd_find_from_winlink(&fs, wl); + notify_add(name, &fs, NULL, wl->session, wl->window, NULL); } void -- cgit v1.2.3