mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-26 19:26:32 +00:00
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 changed files with 1 additions and 0 deletions
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 a new issue