aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorS. Christoffer Eliesen <christoffer@eliesen.no>2015-11-19 16:37:48 +0100
committerS. Christoffer Eliesen <christoffer@eliesen.no>2015-11-22 21:17:36 +0100
commita0c5a0bb30af3cc132715e60cf3d87a77f88a095 (patch)
tree07d8e6ccf5aa61fd59135287f18f7d218c64cde1 /include
parent9ce5d635f1f3d7e3e8fa0e2e028579285d23f0fc (diff)
cmd_bindsym: Detect/handle duplicates.
Also replace `bindsym_sort` with function `sway_binding_cmp` that takes all data into account when comparing.
Diffstat (limited to 'include')
-rw-r--r--include/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 82aa71bf..3bdbdb7b 100644
--- a/include/config.h
+++ b/include/config.h
@@ -104,6 +104,10 @@ void free_output_config(struct output_config *oc);
int workspace_output_cmp_workspace(const void *a, const void *b);
+int sway_binding_cmp(const void *a, const void *b);
+int sway_binding_cmp_keys(const void *a, const void *b);
+void free_sway_binding(struct sway_binding *sb);
+
/**
* Global config singleton.
*/