Add "mode" field in binding event

This does *not* go in the binding object to reflect the same hierarchy
of the config file: a mode is a collection of bindings.

Fixes #5323
This commit is contained in:
Orestis Floros
2022-12-14 13:19:00 +01:00
parent 1786b13f0d
commit d5c8319b6c
6 changed files with 41 additions and 4 deletions

View File

@ -133,7 +133,7 @@ void ipc_send_barconfig_update_event(Barconfig *barconfig);
/**
* For the binding events, we send the serialized binding struct.
*/
void ipc_send_binding_event(const char *event_type, Binding *bind);
void ipc_send_binding_event(const char *event_type, Binding *bind, const char *modename);
/**
* Set the maximum duration that we allow for a connection with an unwriteable