From 27ab9cf1b1230e6e839a6a10eb85c670c59d6f9d Mon Sep 17 00:00:00 2001 From: Leonardo Hernández Hernández Date: Fri, 2 Dec 2022 23:17:05 -0600 Subject: 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 -- cgit v1.2.3