Chase wlroots: wlr_surface refactor

Chases 258bf9be1e44d8a2fb953d727ff4ffcf9ebd6503
compositor: drop wlr_surface.{sx,sy}
This commit is contained in:
Consolatis 2023-01-24 03:32:45 +01:00 committed by Johan Malm
parent b4fc72b460
commit fa849cc7e8
2 changed files with 3 additions and 2 deletions

View file

@ -32,7 +32,8 @@ handle_surface_commit(struct wl_listener *listener, void *data)
struct wlr_scene_tree *surface_tree = self->icon->data;
if (surface_tree) {
wlr_scene_node_set_position(&surface_tree->node,
surface->sx, surface->sy);
surface_tree->node.x + surface->current.dx,
surface_tree->node.y + surface->current.dy);
}
}

View file

@ -1,6 +1,6 @@
[wrap-git]
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
revision = 9f793d350379872aeee56ea5c476adfeedc8bc88
revision = 258bf9be1e44d8a2fb953d727ff4ffcf9ebd6503
[provide]
dependency_names = wlroots