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

@ -519,7 +519,7 @@ set_initial_position(struct view *view,
view_constrain_size_to_that_of_usable_area(view);
if (view_is_floating(view)) {
view_place_initial(view);
view_place_initial(view, /* allow_cursor */ true);
} else {
/*
* View is maximized/fullscreen. Center the