mirror of
https://github.com/swaywm/sway.git
synced 2025-11-18 06:59:48 -05:00
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:
parent
2b51c5b294
commit
452a615bb8
5 changed files with 45 additions and 28 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue