mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-26 19:26:32 +00:00
also update locked_bg node position in updatemons()
This commit is contained in:
parent
72d29f1654
commit
71c7e4e1e5
1 changed files with 2 additions and 0 deletions
2
dwl.c
2
dwl.c
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue