diff options
author | nicm <nicm> | 2014-12-01 14:30:18 +0000 |
---|---|---|
committer | nicm <nicm> | 2014-12-01 14:30:18 +0000 |
commit | c8bf8ee931e4ccfe709f5ac36fb210e938eeec50 (patch) | |
tree | c183d9444ba0839050fb68339a1ddc3b81c0d4b8 /format.c | |
parent | c403bfc89488bf3867cee9d5c3b4083a3f80bee6 (diff) |
Check ZOOMED flag on window.
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -470,6 +470,8 @@ format_window(struct format_tree *ft, struct window *w) format_add(ft, "window_height", "%u", w->sy); format_add(ft, "window_layout", "%s", layout); format_add(ft, "window_panes", "%u", window_count_panes(w)); + format_add(ft, "window_zoomed_flag", "%u", + !!(w->flags & WINDOW_ZOOMED)); free(layout); } @@ -497,8 +499,6 @@ format_winlink(struct format_tree *ft, struct session *s, struct winlink *wl) !!(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); } |