From 387bc1b53ffc1b09b61a0abff93c4aba21930b61 Mon Sep 17 00:00:00 2001 From: Diego Viola Date: Wed, 11 Nov 2026 05:30:36 -0300 Subject: [PATCH] Fix typo --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index 25796d9..76bb628 100644 --- a/dwl.c +++ b/dwl.c @@ -523,7 +523,7 @@ applybounds(Client *c, struct wlr_box *bbox) c->geom.width = MAX(min.width + 2 * (int)c->bw, c->geom.width); c->geom.height = MAX(min.height + 2 * (int)c->bw, c->geom.height); /* Some clients set their max size to INT_MAX, which does not violate the - * protocol but it's unnecesary, as they can set their max size to zero. */ + * protocol but it's unnecessary, as they can set their max size to zero. */ if (max.width > 0 && 2 * (int)c->bw <= INT_MAX - max.width) /* Checks for overflow */ c->geom.width = MIN(max.width + 2 * (int)c->bw, c->geom.width); if (max.height > 0 && 2 * (int)c->bw <= INT_MAX - max.height) /* Checks for overflow */