summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-11-15 22:29:26 -0600
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-11-21 14:28:05 -0600
commit7eebe677879373672774c06c81c0e3eda22d03ae (patch)
treeff7b53bb524a0b6a0d59d81dc5c941f5334ad25a
parent63d6de58669ea4ee6876e7e624fa3c3bd9e83a0a (diff)
set x and y of the layersurface's geometry box
-rw-r--r--dwl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index 3f2b261..579dad1 100644
--- a/dwl.c
+++ b/dwl.c
@@ -466,6 +466,8 @@ arrangelayer(Monitor *m, struct wl_list *list, struct wlr_box *usable_area, int
wlr_scene_layer_surface_v1_configure(layersurface->scene_layer, &full_area, usable_area);
wlr_scene_node_set_position(&layersurface->popups->node,
layersurface->scene->node.x, layersurface->scene->node.y);
+ layersurface->geom.x = layersurface->scene->node.x;
+ layersurface->geom.y = layersurface->scene->node.y;
}
}