view: constrain window size to that of usable area

...on first map (when application is started).

Fixes #1399
This commit is contained in:
Johan Malm 2024-01-06 21:36:12 +00:00
parent 785a34e8ad
commit fb2313bd2d
4 changed files with 24 additions and 0 deletions

View file

@ -399,6 +399,7 @@ void view_center(struct view *view, const struct wlr_box *ref);
* @view: view to be placed
*/
void view_place_initial(struct view *view);
void view_constrain_size_to_that_of_usable_area(struct view *view);
void view_restore_to(struct view *view, struct wlr_box geometry);
void view_set_untiled(struct view *view);