summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar S. Christoffer Eliesen <christoffer@eliesen.no>2015-11-19 16:37:48 +0100
committerLibravatar S. Christoffer Eliesen <christoffer@eliesen.no>2015-11-22 21:17:36 +0100
commita0c5a0bb30af3cc132715e60cf3d87a77f88a095 (patch)
tree07d8e6ccf5aa61fd59135287f18f7d218c64cde1 /include
parentcommands: Comment/doc for config_command. (diff)
downloadsway-a0c5a0bb30af3cc132715e60cf3d87a77f88a095.tar.gz
sway-a0c5a0bb30af3cc132715e60cf3d87a77f88a095.tar.zst
sway-a0c5a0bb30af3cc132715e60cf3d87a77f88a095.zip
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);
104 104
105int workspace_output_cmp_workspace(const void *a, const void *b); 105int workspace_output_cmp_workspace(const void *a, const void *b);
106 106
107int sway_binding_cmp(const void *a, const void *b);
108int sway_binding_cmp_keys(const void *a, const void *b);
109void free_sway_binding(struct sway_binding *sb);
110
107/** 111/**
108 * Global config singleton. 112 * Global config singleton.
109 */ 113 */