action: allow configurable policy in AutoPlace action

Closes: #1784.
This commit is contained in:
Andrew J. Hesford 2024-05-07 09:46:05 -04:00 committed by Johan Malm
parent 208f383c66
commit 89589f17c4
8 changed files with 60 additions and 21 deletions

View file

@ -530,7 +530,7 @@ set_initial_position(struct view *view)
}
/* All other views are placed according to a configured strategy */
view_place_initial(view, /* allow_cursor */ true);
view_place_by_policy(view, /* allow_cursor */ true, rc.placement_policy);
}
static const char *