aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-19 18:49:52 -0400
committerGitHub <noreply@github.com>2018-03-19 18:49:52 -0400
commitd5a8a879b65e4d83dbd1e7d87e9ef20ffd4b657f (patch)
treeb428c88b3a4be0507ba9f83e94c607b94618b547 /sway/tree
parent9823a7c6c8cd5556390d2a53f34e30c3689bc6fd (diff)
parent01beee58263a3d1de6eb30951332f31ca46eb4d3 (diff)
downloadsway-d5a8a879b65e4d83dbd1e7d87e9ef20ffd4b657f.tar.xz
Merge pull request #1626 from emersion/wlroots-update
Update wlroots API
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/container.c4
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,
case SWAY_XDG_SHELL_V6_VIEW:
// the top left corner of the sway container is the
// coordinate of the top left corner of the window geometry
- view_sx += sview->wlr_xdg_surface_v6->geometry->x;
- view_sy += sview->wlr_xdg_surface_v6->geometry->y;
+ view_sx += sview->wlr_xdg_surface_v6->geometry.x;
+ view_sy += sview->wlr_xdg_surface_v6->geometry.y;
// check for popups
double popup_sx, popup_sy;