diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-12-30 14:25:19 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-12-30 14:25:19 -0600 |
commit | 71c7e4e1e5d2181d58fba3ce14a4457885523452 (patch) | |
tree | c5e085b2fa3c73d659c7b1e8bc5e3bacfb5f63ae | |
parent | 72d29f165449a28f84e476803543f30f11e366e8 (diff) |
also update locked_bg node position in updatemons()
-rw-r--r-- | dwl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2463,6 +2463,8 @@ updatemons(struct wl_listener *listener, void *data) /* Now that we update the output layout we can get its box */ wlr_output_layout_get_box(output_layout, NULL, &sgeom); + /* Make sure the clients are hidden when dwl is locked */ + wlr_scene_node_set_position(&locked_bg->node, sgeom.x, sgeom.y); wlr_scene_rect_set_size(locked_bg, sgeom.width, sgeom.height); wl_list_for_each(m, &mons, link) { |