diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2018-08-25 13:55:50 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2018-08-25 13:55:50 +0100 |
commit | 7fbd2f5498f30383d145653fe5d1e542fbd6ad43 (patch) | |
tree | b1b727eb9268649b55e213ebe347492aed7fda88 /tty.c | |
parent | 45841400f2e5de5c61e415a3cf83339dfa387adb (diff) | |
download | rtmux-7fbd2f5498f30383d145653fe5d1e542fbd6ad43.tar.gz rtmux-7fbd2f5498f30383d145653fe5d1e542fbd6ad43.tar.bz2 rtmux-7fbd2f5498f30383d145653fe5d1e542fbd6ad43.zip |
Do not draw cells which have no cell (zoomed and they are not active).
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1330,6 +1330,8 @@ tty_client_ready(struct client *c, struct window_pane *wp) return (0); if (c->session->curw->window != wp->window) return (0); + if (wp->layout_cell == NULL) + return (0); return (1); } |