aboutsummaryrefslogtreecommitdiff
path: root/swaymsg/main.c
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-07-08 20:32:42 +0100
committerIan Fan <ianfan0@gmail.com>2018-07-10 12:03:46 +0100
commit5fd36164a008f931def993413facf9058c56641d (patch)
tree5714600f0fd8b8f1a2570cad4d7bc8ab48e7eb1e /swaymsg/main.c
parentc1bb73f8652f367ee7b7b82f5fc13aff51145358 (diff)
Add get_binding_modes message type to ipc
Diffstat (limited to 'swaymsg/main.c')
-rw-r--r--swaymsg/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c
index 542ca819..42e488f3 100644
--- a/swaymsg/main.c
+++ b/swaymsg/main.c
@@ -407,6 +407,8 @@ int main(int argc, char **argv) {
type = IPC_GET_BAR_CONFIG;
} else if (strcasecmp(cmdtype, "get_version") == 0) {
type = IPC_GET_VERSION;
+ } else if (strcasecmp(cmdtype, "get_binding_modes") == 0) {
+ type = IPC_GET_BINDING_MODES;
} else if (strcasecmp(cmdtype, "get_clipboard") == 0) {
type = IPC_GET_CLIPBOARD;
} else {