view: Use wlr_box for current/pending geometry

This commit is contained in:
John Lindgren 2023-02-08 23:19:14 -05:00
parent 3941991505
commit b75dbd5b38
15 changed files with 169 additions and 186 deletions

View file

@ -111,7 +111,7 @@ foreign_toplevel_update_outputs(struct view *view)
{
assert(view->toplevel.handle);
struct wlr_box view_geo = { view->x, view->y, view->w, view->h };
struct wlr_box view_geo = view->current;
struct wlr_output_layout *layout = view->server->output_layout;
struct output *output;