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

@ -214,8 +214,8 @@ show_menu(struct server *server, struct view *view, const char *menu_name)
int x, y;
if (force_menu_top_left) {
x = view->x;
y = view->y;
x = view->current.x;
y = view->current.y;
} else {
x = server->seat.cursor->x;
y = server->seat.cursor->y;