xwayland: fix regression after 95b7782

Fixes #101
This commit is contained in:
Jente Hidskes 2020-01-05 12:59:00 +01:00
parent 1c59946e20
commit 530b32d496
No known key found for this signature in database
GPG key ID: 04BE5A29F32D91EA

View file

@ -143,8 +143,8 @@ handle_xwayland_surface_map(struct wl_listener *listener, void *data)
struct cg_view *view = &xwayland_view->view;
if (!xwayland_view_should_manage(view)) {
view->x = xwayland_view->xwayland_surface->x;
view->y = xwayland_view->xwayland_surface->y;
view->lx = xwayland_view->xwayland_surface->x;
view->ly = xwayland_view->xwayland_surface->y;
}
xwayland_view->commit.notify = handle_xwayland_surface_commit;