call updatemons() in requestmonstate()
This way we make sure that the Monitor's boxes are updated correctly
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user