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/tree | |
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/tree')
-rw-r--r-- | sway/tree/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c index 0960f413..4aa3a7fe 100644 --- a/sway/tree/output.c +++ b/sway/tree/output.c | |||
@@ -277,7 +277,7 @@ void output_disable(struct sway_output *output) { | |||
277 | // Reconfigure all devices, since devices with map_to_output directives for | 277 | // Reconfigure all devices, since devices with map_to_output directives for |
278 | // an output that goes offline should stop sending events as long as the | 278 | // an output that goes offline should stop sending events as long as the |
279 | // output remains offline. | 279 | // output remains offline. |
280 | input_manager_configure_all_inputs(); | 280 | input_manager_configure_all_input_mappings(); |
281 | } | 281 | } |
282 | 282 | ||
283 | void output_begin_destroy(struct sway_output *output) { | 283 | void output_begin_destroy(struct sway_output *output) { |