mirror of
https://github.com/swaywm/sway.git
synced 2026-04-03 07:15:39 -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
|
|
@ -277,7 +277,7 @@ void output_disable(struct sway_output *output) {
|
|||
// Reconfigure all devices, since devices with map_to_output directives for
|
||||
// an output that goes offline should stop sending events as long as the
|
||||
// output remains offline.
|
||||
input_manager_configure_all_inputs();
|
||||
input_manager_configure_all_input_mappings();
|
||||
}
|
||||
|
||||
void output_begin_destroy(struct sway_output *output) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue