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 8e7a542e..ba53d95d 100644
--- a/swaybar/ipc.c
+++ b/swaybar/ipc.c
@@ -237,7 +237,7 @@ static bool ipc_parse_config(
237 struct swaybar_binding *binding = 237 struct swaybar_binding *binding =
238 calloc(1, sizeof(struct swaybar_binding)); 238 calloc(1, sizeof(struct swaybar_binding));
239 binding->button = json_object_get_int( 239 binding->button = json_object_get_int(
240 json_object_object_get(bindobj, "input_code")); 240 json_object_object_get(bindobj, "event_code"));
241 binding->command = strdup(json_object_get_string( 241 binding->command = strdup(json_object_get_string(
242 json_object_object_get(bindobj, "command"))); 242 json_object_object_get(bindobj, "command")));
243 binding->release = json_object_get_boolean( 243 binding->release = json_object_get_boolean(