mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-26 06:59:52 -05:00
xdg-popup: use current/pending state pattern
This commit is contained in:
parent
4a968576e4
commit
6f1fce9cb4
5 changed files with 31 additions and 26 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue