summaryrefslogtreecommitdiffstats
path: root/swaybar/ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar/ipc.c')
-rw-r--r--swaybar/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/ipc.c b/swaybar/ipc.c
index bc5c28b4..097f9161 100644
--- a/swaybar/ipc.c
+++ b/swaybar/ipc.c
@@ -246,7 +246,7 @@ static bool ipc_parse_config(
246 struct swaybar_binding *binding = 246 struct swaybar_binding *binding =
247 calloc(1, sizeof(struct swaybar_binding)); 247 calloc(1, sizeof(struct swaybar_binding));
248 binding->button = json_object_get_int( 248 binding->button = json_object_get_int(
249 json_object_object_get(bindobj, "input_code")); 249 json_object_object_get(bindobj, "event_code"));
250 binding->command = strdup(json_object_get_string( 250 binding->command = strdup(json_object_get_string(
251 json_object_object_get(bindobj, "command"))); 251 json_object_object_get(bindobj, "command")));
252 binding->release = json_object_get_boolean( 252 binding->release = json_object_get_boolean(