diff options
author | frsfnrrg <frsfnrrg@users.noreply.github.com> | 2018-06-12 10:37:47 -0400 |
---|---|---|
committer | frsfnrrg <frsfnrrg@users.noreply.github.com> | 2018-06-12 11:26:24 -0400 |
commit | b23cd827cf934ef7f631b7c448e7afa4147c1936 (patch) | |
tree | e08b25504f68e20d95c484b0b57ec2caedf27978 /include/sway/config.h | |
parent | 867fb6aedbbe4cd1c7f4817848682609e8489880 (diff) |
Sort binding key lists
Sort the list comprising the set of keys for the binding in ascending
order. (Keyboard shortcuts depend only on the set of simultaneously
pressed keys, not their order, so this change should have no external
effect.) This simplifies comparisons between bindings.
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 81e9c382..e75b0664 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -30,7 +30,7 @@ struct sway_binding { bool release; bool locked; bool bindcode; - list_t *keys; + list_t *keys; // sorted in ascending order uint32_t modifiers; char *command; }; |