xdg: Just call view_center() now that it uses pending width/height

This commit is contained in:
John Lindgren 2023-02-09 01:16:24 -05:00 committed by Consolatis
parent cf6eb29ef5
commit a1b5e1939d
3 changed files with 2 additions and 18 deletions

View file

@ -243,7 +243,7 @@ view_output(struct view *view)
return output_from_wlr_output(view->server, wlr_output);
}
bool
static bool
view_compute_centered_position(struct view *view, int w, int h, int *x, int *y)
{
struct output *output = view_output(view);