diff options
Diffstat (limited to 'sway/desktop/xdg_shell.c')
-rw-r--r-- | sway/desktop/xdg_shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c index 51168f4c..16121733 100644 --- a/sway/desktop/xdg_shell.c +++ b/sway/desktop/xdg_shell.c @@ -27,8 +27,8 @@ static void popup_get_view_coords(struct sway_view_child *child, struct wlr_xdg_popup *wlr_popup = popup->wlr_xdg_popup; wlr_xdg_popup_get_toplevel_coords(wlr_popup, - wlr_popup->geometry.x - wlr_popup->base->current.geometry.x, - wlr_popup->geometry.y - wlr_popup->base->current.geometry.y, + wlr_popup->current.geometry.x - wlr_popup->base->current.geometry.x, + wlr_popup->current.geometry.y - wlr_popup->base->current.geometry.y, sx, sy); } |