handlers.c: send an "output" event on monitor configuration change
When adding/removing a monitor, the outputs are likely to be modified. Send an IPC event "output", like when there is a screen configuration change. Signed-off-by: Vincent Bernat <vincent@bernat.ch>
This commit is contained in:
@ -1074,6 +1074,8 @@ static void handle_configure_notify(xcb_configure_notify_event_t *event) {
|
||||
return;
|
||||
}
|
||||
randr_query_outputs();
|
||||
|
||||
ipc_send_event("output", I3_IPC_EVENT_OUTPUT, "{\"change\":\"unspecified\"}");
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user