aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2024-12-10 22:32:21 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2024-12-10 22:49:09 -0600
commit30f5063474a70835d0178ffc12521a3e0fb1ef8b (patch)
tree99be48d5ce5145a0505d49e9c89c31b2a128782c
parent1d08ade13225343890e3476f7c4003ab87dc266c (diff)
downloaddwl-30f5063474a70835d0178ffc12521a3e0fb1ef8b.tar.gz
manually call updatemons in powermgrsetmode()
Fixes: https://codeberg.org/dwl/dwl/issues/713
-rw-r--r--dwl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index 9acb898..0eba3e9 100644
--- a/dwl.c
+++ b/dwl.c
@@ -2082,6 +2082,7 @@ powermgrsetmode(struct wl_listener *listener, void *data)
wlr_output_commit_state(m->wlr_output, &state);
m->asleep = !event->mode;
+ updatemons(NULL, NULL);
}
void