summaryrefslogtreecommitdiffstats
path: root/notify.c
diff options
context:
space:
mode:
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