view: allow overriding of cursor placement policy

This commit is contained in:
Jens Peters 2024-01-21 23:25:01 +01:00
parent 97740a3d1c
commit d7920b6bca
No known key found for this signature in database
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);