summaryrefslogtreecommitdiffstats
path: root/notify.c
diff options
context:
space:
mode:
authornicm <nicm>2017-04-21 14:09:44 +0000
committernicm <nicm>2017-04-21 14:09:44 +0000
commitc799425069d02675474cda312fac1457829052fb (patch)
tree072ca7fbea547071b5f4a14de7edc166bf0ac51c /notify.c
parent428be9803cab5121bc8ccad5ecbcce509c57b3a1 (diff)
More unnecessary arguments now winlink points back to session.
Diffstat (limited to 'notify.c')
-rw-r--r--notify.c6
1 files changed, 3 insertions, 3 deletions
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