seat_cmd_keyboard_grouping: change keymap to smart

This removes `seat <seat> keyboard_grouping keymap` and replaces it with
`seat <seat> keyboard_grouping smart`. The smart keyboard grouping will
group based on both the keymap and repeat info. The reasoning for this
is that deciding what the repeat info should be for a group is either
arbitrary or non-deterministic when multiple keyboards in the group have
repeat info configured (unless somehow exposed to the user in a
reproducible uniquely identifiable fashion).
This commit is contained in:
Brian Ashworth 2019-12-15 01:33:33 -05:00 committed by Drew DeVault
parent 2b51c5b294
commit 452a615bb8
5 changed files with 45 additions and 28 deletions

View file

@ -177,9 +177,9 @@ enum seat_config_allow_constrain {
};
enum seat_keyboard_grouping {
KEYBOARD_GROUP_DEFAULT, // the default is currently keymap
KEYBOARD_GROUP_DEFAULT, // the default is currently smart
KEYBOARD_GROUP_NONE,
KEYBOARD_GROUP_KEYMAP
KEYBOARD_GROUP_SMART // keymap and repeat info
};
enum sway_input_idle_source {