call updatemons() in requestmonstate()
This way we make sure that the Monitor's boxes are updated correctly
This commit is contained in:
parent
1b39bbf316
commit
27ab9cf1b1
1
dwl.c
1
dwl.c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user