Add window_last_flag and window_zoomed_flag. From John Morrissey.

This commit is contained in:
nicm
2014-09-08 14:29:05 +00:00
parent 8a473b5757
commit 9bda7e881a
2 changed files with 6 additions and 1 deletions

View File

@ -494,7 +494,10 @@ format_winlink(struct format_tree *ft, struct session *s, struct winlink *wl)
!!(wl->flags & WINLINK_ACTIVITY));
format_add(ft, "window_silence_flag", "%u",
!!(wl->flags & WINLINK_SILENCE));
format_add(ft, "window_last_flag", "%u",
!!(wl == TAILQ_FIRST(&s->lastw)));
format_add(ft, "window_zoomed_flag", "%u",
!!(wl->flags & WINDOW_ZOOMED));
free(flags);
}