diff options
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r-- | sway/tree/container.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index b424dd0a..705221d7 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -325,8 +325,8 @@ swayc_t *swayc_at(swayc_t *parent, double lx, double ly, | |||
325 | case SWAY_XDG_SHELL_V6_VIEW: | 325 | case SWAY_XDG_SHELL_V6_VIEW: |
326 | // the top left corner of the sway container is the | 326 | // the top left corner of the sway container is the |
327 | // coordinate of the top left corner of the window geometry | 327 | // coordinate of the top left corner of the window geometry |
328 | view_sx += sview->wlr_xdg_surface_v6->geometry->x; | 328 | view_sx += sview->wlr_xdg_surface_v6->geometry.x; |
329 | view_sy += sview->wlr_xdg_surface_v6->geometry->y; | 329 | view_sy += sview->wlr_xdg_surface_v6->geometry.y; |
330 | 330 | ||
331 | // check for popups | 331 | // check for popups |
332 | double popup_sx, popup_sy; | 332 | double popup_sx, popup_sy; |