call updatemons() in requestmonstate()

This way we make sure that the Monitor's boxes are updated correctly
This commit is contained in:
Leonardo Hernández Hernández 2022-12-02 23:17:05 -06:00
parent 1b39bbf316
commit 27ab9cf1b1
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

1
dwl.c
View File

@ -1738,6 +1738,7 @@ requestmonstate(struct wl_listener *listener, void *data)
{ {
struct wlr_output_event_request_state *event = data; struct wlr_output_event_request_state *event = data;
wlr_output_commit_state(event->output, event->state); wlr_output_commit_state(event->output, event->state);
updatemons(NULL, NULL);
} }
void void