From 7d41761e8441d38eea9d752d4c12ccdfeeb9991b Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 10 Feb 2026 10:02:11 +0000 Subject: [PATCH] Fix clients_calculate_size for manual type when window is NULL. From Elias Oenal in GitHub issue 4849. --- resize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resize.c b/resize.c index 9a61c300..6cbc938d 100644 --- a/resize.c +++ b/resize.c @@ -250,7 +250,7 @@ skip: /* Return whether a suitable size was found. */ if (type == WINDOW_SIZE_MANUAL) { log_debug("%s: type is manual", __func__); - return (1); + return (w != NULL); } if (type == WINDOW_SIZE_LARGEST) { log_debug("%s: type is largest", __func__);