diff options
author | Simon Ser <contact@emersion.fr> | 2023-11-16 14:56:46 +0100 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2023-11-16 16:29:07 +0100 |
commit | 7036769bea886ab1f9d627785f14cea9e25b16f7 (patch) | |
tree | 73df7ae212c8f2587abd9860bcb54be3c831a6fb /sway/config/output.c | |
parent | input/seat: rename seat_apply_input_config (diff) | |
download | sway-7036769bea886ab1f9d627785f14cea9e25b16f7.tar.gz sway-7036769bea886ab1f9d627785f14cea9e25b16f7.tar.zst sway-7036769bea886ab1f9d627785f14cea9e25b16f7.zip |
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.
Diffstat (limited to 'sway/config/output.c')
-rw-r--r-- | sway/config/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config/output.c b/sway/config/output.c index eefde22b..3316085a 100644 --- a/sway/config/output.c +++ b/sway/config/output.c | |||
@@ -590,7 +590,7 @@ bool apply_output_config(struct output_config *oc, struct sway_output *output) { | |||
590 | // Reconfigure all devices, since input config may have been applied before | 590 | // Reconfigure all devices, since input config may have been applied before |
591 | // this output came online, and some config items (like map_to_output) are | 591 | // this output came online, and some config items (like map_to_output) are |
592 | // dependent on an output being present. | 592 | // dependent on an output being present. |
593 | input_manager_configure_all_inputs(); | 593 | input_manager_configure_all_input_mappings(); |
594 | // Reconfigure the cursor images, since the scale may have changed. | 594 | // Reconfigure the cursor images, since the scale may have changed. |
595 | input_manager_configure_xcursor(); | 595 | input_manager_configure_xcursor(); |
596 | return true; | 596 | return true; |