view.c: remove outdated comment

Since a5d89a2, xdg-shell views can request very small window geometry.
This commit is contained in:
tokyo4j 2025-09-01 17:16:53 +09:00 committed by Johan Malm
parent 66e26cd28a
commit 6ed2617394

View file

@ -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;
}