summaryrefslogtreecommitdiffstats
path: root/notify.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-04-21 16:01:18 +0100
committerThomas Adam <thomas@xteddy.org>2017-04-21 16:01:18 +0100
commit4612419c143c3f748bc5f6ccd467c7c0014e8d48 (patch)
tree42929aeeb8b1d89abf639124412199fac7092f04 /notify.c
parent93062ad09952f411d48818b05dc9898bc14dcfde (diff)
parentc799425069d02675474cda312fac1457829052fb (diff)
Merge branch 'obsd-master'
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 0aea7ecc..48e2b9d7 100644
--- a/notify.c
+++ b/notify.c
@@ -183,12 +183,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