mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
view: Use wlr_box for current/pending geometry
This commit is contained in:
parent
3941991505
commit
b75dbd5b38
15 changed files with 169 additions and 186 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue