From 6ed26173947392d275cafc9f5f02b65b03ee4b03 Mon Sep 17 00:00:00 2001 From: tokyo4j Date: Mon, 1 Sep 2025 17:16:53 +0900 Subject: [PATCH] view.c: remove outdated comment Since a5d89a2, xdg-shell views can request very small window geometry. --- src/view.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/view.c b/src/view.c index 521ffe58..293d466c 100644 --- a/src/view.c +++ b/src/view.c @@ -762,10 +762,7 @@ view_adjust_size(struct view *view, int *w, int *h) *w = round_to_increment(*w, hints.base_width, hints.width_inc); *h = round_to_increment(*h, hints.base_height, hints.height_inc); - /* - * If a minimum width/height was not set, then use default. - * This is currently always the case for xdg-shell views. - */ + /* If a minimum width/height was not set, then use default */ if (hints.min_width < 1) { hints.min_width = min_width; } -- 2.52.0