diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-03-11 21:31:46 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-03-11 21:31:46 +0000 |
commit | 543420ccd2c3c23437405b391e3f9fe1d05223f7 (patch) | |
tree | 7581f8eb90cd26fd51c5e406f31f561e0e4eb603 /control-notify.c | |
parent | 064022548bcbf4d45705fdbff8441f2b5da5f682 (diff) | |
parent | 7c009509676b4580065fdc6f0084a93b9758fac0 (diff) | |
download | rtmux-543420ccd2c3c23437405b391e3f9fe1d05223f7.tar.gz rtmux-543420ccd2c3c23437405b391e3f9fe1d05223f7.tar.bz2 rtmux-543420ccd2c3c23437405b391e3f9fe1d05223f7.zip |
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
Diffstat (limited to 'control-notify.c')
-rw-r--r-- | control-notify.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/control-notify.c b/control-notify.c index bb9708c8..90ee4ffa 100644 --- a/control-notify.c +++ b/control-notify.c @@ -45,7 +45,7 @@ control_notify_input(struct client *c, struct window_pane *wp, */ if (winlink_find_by_window(&c->session->windows, wp->window) != NULL) { message = evbuffer_new(); - evbuffer_add_printf(message, "%%output %%%u ", wp->id); + evbuffer_add_printf(message, "%%output %u ", wp->id); for (i = 0; i < len; i++) evbuffer_add_printf(message, "%02hhx", buf[i]); control_write_buffer(c, message); @@ -141,7 +141,7 @@ control_notify_window_renamed(struct window *w) continue; s = c->session; - control_write(c, "%%window-renamed %u %s", w->id, w->name); + control_write(c, "%%window-renamed %u %s", w->id, w->name); } } @@ -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 %u %s", s->id, s->name); } void |