From: tokyo4j Date: Mon, 1 Sep 2025 08:16:53 +0000 (+0900) Subject: view.c: remove outdated comment X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=6ed26173947392d275cafc9f5f02b65b03ee4b03;p=proto%2Flabwc.git view.c: remove outdated comment Since a5d89a2, xdg-shell views can request very small window geometry. --- 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; }