mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
view: let view_set_fallback_natural_geometry() return wlr_box
This commit is contained in:
parent
164b17c279
commit
e6b5d91b63
3 changed files with 11 additions and 11 deletions
|
|
@ -756,7 +756,7 @@ check_natural_geometry(struct view *view)
|
|||
if (!view_is_floating(view)
|
||||
&& (view->natural_geometry.width < LAB_MIN_VIEW_WIDTH
|
||||
|| view->natural_geometry.height < LAB_MIN_VIEW_HEIGHT)) {
|
||||
view_set_fallback_natural_geometry(view);
|
||||
view->natural_geometry = view_get_fallback_natural_geometry(view);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue