From 30f5063474a70835d0178ffc12521a3e0fb1ef8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?= Date: Tue, 10 Dec 2024 22:32:21 -0600 Subject: [PATCH] manually call updatemons in powermgrsetmode() Fixes: https://codeberg.org/dwl/dwl/issues/713 --- dwl.c | 1 + 1 file changed, 1 insertion(+) 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