aboutsummaryrefslogtreecommitdiff
path: root/control-notify.c
diff options
context:
space:
mode:
authorThomas <thomas@xteddy.org>2013-03-26 16:59:37 +0000
committerThomas <thomas@xteddy.org>2013-03-26 16:59:37 +0000
commit399a15b9fc06bee7860d7e29c8315776ed87beea (patch)
tree253e0b4ede9c368f25b330b939dfe8640412b78e /control-notify.c
parent00af2df1027301a31531321c12eae6ff32989a3a (diff)
parentdfac36b6c3d72ac3732ec2c638b8bae16d1a01ae (diff)
downloadrtmux-399a15b9fc06bee7860d7e29c8315776ed87beea.tar.gz
rtmux-399a15b9fc06bee7860d7e29c8315776ed87beea.tar.bz2
rtmux-399a15b9fc06bee7860d7e29c8315776ed87beea.zip
Merge branch 'obsd-master'
Diffstat (limited to 'control-notify.c')
-rw-r--r--control-notify.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/control-notify.c b/control-notify.c
index 0931c23a..a298cdc5 100644
--- a/control-notify.c
+++ b/control-notify.c
@@ -99,14 +99,12 @@ void
control_notify_window_unlinked(unused struct session *s, struct window *w)
{
struct client *c;
- struct session *cs;
u_int i;
for (i = 0; i < ARRAY_LENGTH(&clients); i++) {
c = ARRAY_ITEM(&clients, i);
if (!CONTROL_SHOULD_NOTIFY_CLIENT(c) || c->session == NULL)
continue;
- cs = c->session;
control_write(c, "%%window-close @%u", w->id);
}
@@ -136,14 +134,12 @@ void
control_notify_window_renamed(struct window *w)
{
struct client *c;
- struct session *s;
u_int i;
for (i = 0; i < ARRAY_LENGTH(&clients); i++) {
c = ARRAY_ITEM(&clients, i);
if (!CONTROL_SHOULD_NOTIFY_CLIENT(c) || c->session == NULL)
continue;
- s = c->session;
control_write(c, "%%window-renamed @%u %s", w->id, w->name);
}