i3-compat: add GET_BINDING_STATE IPC command

This commit is contained in:
Jason Nader 2020-06-13 12:32:24 +09:00 committed by Brian Ashworth
parent f9361ae36c
commit 45859be03f
10 changed files with 48 additions and 0 deletions

View file

@ -440,6 +440,8 @@ int main(int argc, char **argv) {
type = IPC_GET_VERSION;
} else if (strcasecmp(cmdtype, "get_binding_modes") == 0) {
type = IPC_GET_BINDING_MODES;
} else if (strcasecmp(cmdtype, "get_binding_state") == 0) {
type = IPC_GET_BINDING_STATE;
} else if (strcasecmp(cmdtype, "get_config") == 0) {
type = IPC_GET_CONFIG;
} else if (strcasecmp(cmdtype, "send_tick") == 0) {