view: ensure midpoint is visible on layout change

Fixes: #1476.
This commit is contained in:
Andrew J. Hesford 2024-01-25 10:45:59 -05:00 committed by Consolatis
parent 21d816edb2
commit 9ecd8c2b43
2 changed files with 43 additions and 29 deletions

View file

@ -392,7 +392,6 @@ void view_moved(struct view *view);
void view_minimize(struct view *view, bool minimized);
bool view_compute_centered_position(struct view *view,
const struct wlr_box *ref, int w, int h, int *x, int *y);
bool view_adjust_floating_geometry(struct view *view, struct wlr_box *geometry);
void view_store_natural_geometry(struct view *view);
/**