manually call updatemons in powermgrsetmode()

Fixes: https://codeberg.org/dwl/dwl/issues/713
This commit is contained in:
Leonardo Hernández Hernández 2024-12-10 22:32:21 -06:00
parent 1d08ade132
commit 30f5063474
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

1
dwl.c
View File

@ -2082,6 +2082,7 @@ powermgrsetmode(struct wl_listener *listener, void *data)
wlr_output_commit_state(m->wlr_output, &state); wlr_output_commit_state(m->wlr_output, &state);
m->asleep = !event->mode; m->asleep = !event->mode;
updatemons(NULL, NULL);
} }
void void