mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
view.c: remove outdated comment
Since a5d89a2, xdg-shell views can request very small window geometry.
This commit is contained in:
parent
66e26cd28a
commit
6ed2617394
1 changed files with 1 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue