mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
Chase wlroots: wlr_surface refactor
Chases 258bf9be1e44d8a2fb953d727ff4ffcf9ebd6503
compositor: drop wlr_surface.{sx,sy}
This commit is contained in:
parent
b4fc72b460
commit
fa849cc7e8
2 changed files with 3 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[wrap-git]
|
||||
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
|
||||
revision = 9f793d350379872aeee56ea5c476adfeedc8bc88
|
||||
revision = 258bf9be1e44d8a2fb953d727ff4ffcf9ebd6503
|
||||
|
||||
[provide]
|
||||
dependency_names = wlroots
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue