From 27ab9cf1b1230e6e839a6a10eb85c670c59d6f9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?= Date: Fri, 2 Dec 2022 23:17:05 -0600 Subject: [PATCH] call updatemons() in requestmonstate() This way we make sure that the Monitor's boxes are updated correctly --- dwl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dwl.c b/dwl.c index 255a334..c9d79d9 100644 --- a/dwl.c +++ b/dwl.c @@ -1738,6 +1738,7 @@ requestmonstate(struct wl_listener *listener, void *data) { struct wlr_output_event_request_state *event = data; wlr_output_commit_state(event->output, event->state); + updatemons(NULL, NULL); } void