From a0c5a0bb30af3cc132715e60cf3d87a77f88a095 Mon Sep 17 00:00:00 2001 From: "S. Christoffer Eliesen" Date: Thu, 19 Nov 2015 16:37:48 +0100 Subject: cmd_bindsym: Detect/handle duplicates. Also replace `bindsym_sort` with function `sway_binding_cmp` that takes all data into account when comparing. --- include/config.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/config.h') 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. */ -- cgit v1.2.3