diff --git a/screen-write.c b/screen-write.c index b4285814..2c7aa28c 100644 --- a/screen-write.c +++ b/screen-write.c @@ -145,6 +145,9 @@ screen_write_set_client_cb(struct tty_ctx *ttyctx, struct client *c) if (wp->layout_cell == NULL) return (0); + if (wp->flags & PANE_MINIMISED) + return (0); + if (wp->flags & (PANE_REDRAW|PANE_DROP)) return (-1); if (c->flags & CLIENT_REDRAWPANES) {