mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
cmd_bindsym: Detect/handle duplicates.
Also replace `bindsym_sort` with function `sway_binding_cmp` that takes all data into account when comparing.
This commit is contained in:
parent
9ce5d635f1
commit
a0c5a0bb30
3 changed files with 63 additions and 20 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue