=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/notify.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- src/usr.bin/tmux/notify.c 2017/01/11 14:56:44 1.20 +++ src/usr.bin/tmux/notify.c 2017/04/21 14:09:44 1.21 @@ -1,4 +1,4 @@ -/* $OpenBSD: notify.c,v 1.20 2017/01/11 14:56:44 nicm Exp $ */ +/* $OpenBSD: notify.c,v 1.21 2017/04/21 14:09:44 nicm Exp $ */ /* * Copyright (c) 2012 George Nachman @@ -184,12 +184,12 @@ } 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