diff options
author | 2013-03-25 10:11:45 +0000 | |
---|---|---|
committer | 2013-03-25 10:11:45 +0000 | |
commit | 0a539d5d8a538629110ca94754747de95977c30f (patch) | |
tree | b8d5d2e4b6fa9b03742e7324dabd1e251cb4164d /usr.bin/tmux/control-notify.c | |
parent | Add wait-for -L and -U for lock and unlock, from Thiago Padilha. (diff) | |
download | wireguard-openbsd-0a539d5d8a538629110ca94754747de95977c30f.tar.xz wireguard-openbsd-0a539d5d8a538629110ca94754747de95977c30f.zip |
Rename session idx to session id throughout and add $ prefix to targets
to use it, extended from a diff from George Nachman.
Diffstat (limited to 'usr.bin/tmux/control-notify.c')
-rw-r--r-- | usr.bin/tmux/control-notify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/control-notify.c b/usr.bin/tmux/control-notify.c index 93a8659a453..1a30b1e8239 100644 --- a/usr.bin/tmux/control-notify.c +++ b/usr.bin/tmux/control-notify.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control-notify.c,v 1.3 2013/03/25 10:04:23 nicm Exp $ */ +/* $OpenBSD: control-notify.c,v 1.4 2013/03/25 10:11:45 nicm Exp $ */ /* * Copyright (c) 2012 Nicholas Marriott <nicm@users.sourceforge.net> @@ -154,7 +154,7 @@ control_notify_attached_session_changed(struct client *c) return; s = c->session; - control_write(c, "%%session-changed %d %s", s->idx, s->name); + control_write(c, "%%session-changed %d %s", s->id, s->name); } void |