mirror of
https://github.com/swaywm/sway.git
synced 2026-04-20 06:47:03 -04:00
Only reconfigure input mappings on output change
Fully reconfiguring all input devices on output change takes a loooong time. Let's just reconfigure what we need: only mappings depend on outputs.
This commit is contained in:
parent
caa92ddee8
commit
7036769bea
6 changed files with 38 additions and 5 deletions
|
|
@ -168,6 +168,9 @@ void seat_add_device(struct sway_seat *seat,
|
|||
void seat_configure_device(struct sway_seat *seat,
|
||||
struct sway_input_device *device);
|
||||
|
||||
void seat_configure_device_mapping(struct sway_seat *seat,
|
||||
struct sway_input_device *input_device);
|
||||
|
||||
void seat_reset_device(struct sway_seat *seat,
|
||||
struct sway_input_device *input_device);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue