mirror of
https://github.com/labwc/labwc.git
synced 2025-11-14 06:59:54 -05:00
chase: use wlroots tree node getters
This commit is contained in:
parent
e841d44b6f
commit
41891209fc
8 changed files with 9 additions and 27 deletions
|
|
@ -91,7 +91,7 @@ ssd_border_update(struct ssd *ssd)
|
|||
struct ssd_sub_tree *subtree;
|
||||
FOR_EACH_STATE(ssd, subtree) {
|
||||
wl_list_for_each(part, &subtree->parts, link) {
|
||||
rect = lab_wlr_scene_get_rect(part->node);
|
||||
rect = wlr_scene_rect_from_node(part->node);
|
||||
switch (part->type) {
|
||||
case LAB_SSD_PART_LEFT:
|
||||
wlr_scene_rect_set_size(rect,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue