diff options
author | Kirill Primak <[email protected]> | 2022-04-13 20:22:14 +0300 |
---|---|---|
committer | Simon Ser <[email protected]> | 2022-05-27 13:31:30 +0000 |
commit | 3ca1c8543b25f92d0bff843468c5c4812b474d8a (patch) | |
tree | 975732508f527e90a4cf1cfb49b5026304c143d0 | |
parent | 99828d96d67e90e04faf595915aece664fc08c4e (diff) |
xdg-popup: use current/pending state pattern
-rw-r--r-- | xdg_shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xdg_shell.c b/xdg_shell.c index 9b3ad71..909719d 100644 --- a/xdg_shell.c +++ b/xdg_shell.c @@ -60,7 +60,7 @@ static void scene_xdg_surface_update_position( if (xdg_surface->role == WLR_XDG_SURFACE_ROLE_POPUP) { struct wlr_xdg_popup *popup = xdg_surface->popup; wlr_scene_node_set_position(&scene_xdg_surface->tree->node, - popup->geometry.x, popup->geometry.y); + popup->current.geometry.x, popup->current.geometry.y); } } |