From 7eebe677879373672774c06c81c0e3eda22d03ae Mon Sep 17 00:00:00 2001 From: Leonardo Hernández Hernández Date: Tue, 15 Nov 2022 22:29:26 -0600 Subject: set x and y of the layersurface's geometry box --- dwl.c | 2 ++ 1 file changed, 2 insertions(+) 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; } } -- cgit v1.2.3