From 6234d798529d3a92a8c34e3d46fc149b86081491 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 8 Jan 2026 12:05:02 +0000 Subject: [PATCH] Do not set manual size if no window. --- resize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resize.c b/resize.c index 2d7be9cb..9a61c300 100644 --- a/resize.c +++ b/resize.c @@ -127,7 +127,7 @@ clients_calculate_size(int type, int current, struct client *c, if (type == WINDOW_SIZE_LARGEST) { *sx = 0; *sy = 0; - } else if (type == WINDOW_SIZE_MANUAL) { + } else if (w != NULL && type == WINDOW_SIZE_MANUAL) { *sx = w->manual_sx; *sy = w->manual_sy; log_debug("%s: manual size %ux%u", __func__, *sx, *sy);