Update wlroots API

Breaking changes in wlr_xdg_shell_v6 and wlr_renderer have been
made upstream.
This commit is contained in:
emersion 2018-03-19 23:31:18 +01:00
parent 9823a7c6c8
commit 01beee5826
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 7 additions and 7 deletions

View file

@ -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;