summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-12-02 23:17:05 -0600
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-12-02 23:17:05 -0600
commit27ab9cf1b1230e6e839a6a10eb85c670c59d6f9d (patch)
treedae1cc652bfe890cf3a55ded18078a1cbe067f61
parent1b39bbf3162ef5ab7c49252c29b5bcb242ebde9c (diff)
call updatemons() in requestmonstate()
This way we make sure that the Monitor's boxes are updated correctly
-rw-r--r--dwl.c1
1 files changed, 1 insertions, 0 deletions
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