summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/server-window.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-08-28 15:51:48 +0000
committernicm <nicm@openbsd.org>2015-08-28 15:51:48 +0000
commita9de400b55cb60a860ca35ae345e3686ca6abc3a (patch)
tree6fb6b0f0b2c51ebc39f3f595599f474bc9be1ec5 /usr.bin/tmux/server-window.c
parentDisable interrupts while the midi uart is not in use. Avoids generating (diff)
downloadwireguard-openbsd-a9de400b55cb60a860ca35ae345e3686ca6abc3a.tar.xz
wireguard-openbsd-a9de400b55cb60a860ca35ae345e3686ca6abc3a.zip
We now only checking for name changes when the active pane has changed,
but that can only happen when we have already been woken up by a read event, so there is no need for a timer, we can just check the changed flag on the end of that read event (we already loop over the windows to check for bells etc anyway).
Diffstat (limited to 'usr.bin/tmux/server-window.c')
-rw-r--r--usr.bin/tmux/server-window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/server-window.c b/usr.bin/tmux/server-window.c
index 825a1176a17..5c9102e2d7d 100644
--- a/usr.bin/tmux/server-window.c
+++ b/usr.bin/tmux/server-window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server-window.c,v 1.36 2015/08/28 07:55:43 nicm Exp $ */
+/* $OpenBSD: server-window.c,v 1.37 2015/08/28 15:51:48 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -49,6 +49,7 @@ server_window_loop(void)
server_status_session(s);
}
}
+ check_window_name(w);
}
}