From b2b94dcba73a62e2949fb98aee097dbaea658760 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 6 Jan 2022 08:20:00 +0000 Subject: [PATCH] Ignore windows without a size set (may be used for pane only), from Anindya Mukherjee. --- resize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resize.c b/resize.c index 175dd740..18a02adb 100644 --- a/resize.c +++ b/resize.c @@ -178,7 +178,7 @@ clients_calculate_size(int type, int current, struct client *c, cw = NULL; /* Work out this client's size. */ - if (cw != NULL) { + if (cw != NULL && cw->sx != 0 && cw->sy != 0) { cx = cw->sx; cy = cw->sy; } else {