summaryrefslogtreecommitdiff
path: root/xdg_shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'xdg_shell.c')
-rw-r--r--xdg_shell.c2
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);
}
}