mirror of
https://github.com/swaywm/sway.git
synced 2026-02-20 01:40:41 -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
|
|
@ -54,6 +54,9 @@ struct sway_keyboard {
|
|||
struct xkb_keymap *keymap;
|
||||
xkb_layout_index_t effective_layout;
|
||||
|
||||
int32_t repeat_rate;
|
||||
int32_t repeat_delay;
|
||||
|
||||
struct wl_listener keyboard_key;
|
||||
struct wl_listener keyboard_modifiers;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue