mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05: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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue