aboutsummaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-05-06 10:03:52 +0100
committerThomas Adam <thomas@xteddy.org>2015-05-06 10:03:52 +0100
commitf10d3675f8d86e76b5b04d8473b83a9eec778ab3 (patch)
tree3e56aa430262591d01934fd7e1a9ec8e07d4d120 /format.c
parentc0cf4843e50ae7b123613798c209f30440d73e55 (diff)
parent31b1ab48521b4b608d87abd5413441905da84da8 (diff)
downloadrtmux-f10d3675f8d86e76b5b04d8473b83a9eec778ab3.tar.gz
rtmux-f10d3675f8d86e76b5b04d8473b83a9eec778ab3.tar.bz2
rtmux-f10d3675f8d86e76b5b04d8473b83a9eec778ab3.zip
Merge branch 'obsd-master'
Diffstat (limited to 'format.c')
-rw-r--r--format.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/format.c b/format.c
index 9e9b6c89..10576aaf 100644
--- a/format.c
+++ b/format.c
@@ -622,6 +622,7 @@ format_defaults_winlink(struct format_tree *ft, struct session *s,
!!(wl->flags & WINLINK_SILENCE));
format_add(ft, "window_last_flag", "%d",
!!(wl == TAILQ_FIRST(&s->lastw)));
+ format_add(ft, "window_linked", "%d", session_is_linked(s, wl->window));
free(flags);
}