]> git.mdlowis.com Git - proto/labwc.git/commitdiff
view.c: remove outdated comment
authortokyo4j <hrak1529@gmail.com>
Mon, 1 Sep 2025 08:16:53 +0000 (17:16 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 1 Sep 2025 19:13:00 +0000 (20:13 +0100)
Since a5d89a2, xdg-shell views can request very small window geometry.

src/view.c

index 521ffe58606adda0c4404668d5bff2aeb09cffd4..293d466c5e4d8c40ac7e81c53cb203ff82bf907d 100644 (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;
        }