diff options
author | S. Christoffer Eliesen <christoffer@eliesen.no> | 2015-11-19 16:37:48 +0100 |
---|---|---|
committer | S. Christoffer Eliesen <christoffer@eliesen.no> | 2015-11-22 21:17:36 +0100 |
commit | a0c5a0bb30af3cc132715e60cf3d87a77f88a095 (patch) | |
tree | 07d8e6ccf5aa61fd59135287f18f7d218c64cde1 /include | |
parent | commands: Comment/doc for config_command. (diff) | |
download | sway-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.h | 4 |
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 | ||
105 | int workspace_output_cmp_workspace(const void *a, const void *b); | 105 | int workspace_output_cmp_workspace(const void *a, const void *b); |
106 | 106 | ||
107 | int sway_binding_cmp(const void *a, const void *b); | ||
108 | int sway_binding_cmp_keys(const void *a, const void *b); | ||
109 | void free_sway_binding(struct sway_binding *sb); | ||
110 | |||
107 | /** | 111 | /** |
108 | * Global config singleton. | 112 | * Global config singleton. |
109 | */ | 113 | */ |