view: allow overriding of cursor placement policy

This commit is contained in:
Jens Peters 2024-01-21 23:25:01 +01:00 committed by Johan Malm
parent 8517254705
commit 099929cf46
4 changed files with 5 additions and 5 deletions

View file

@ -414,7 +414,7 @@ void view_center(struct view *view, const struct wlr_box *ref);
* view_place_initial - apply initial placement strategy to view
* @view: view to be placed
*/
void view_place_initial(struct view *view);
void view_place_initial(struct view *view, bool allow_cursor);
void view_constrain_size_to_that_of_usable_area(struct view *view);
void view_restore_to(struct view *view, struct wlr_box geometry);