aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2023-11-16 14:56:46 +0100
committerLibravatar Kenny Levinsen <kl@kl.wtf>2023-11-16 16:29:07 +0100
commit7036769bea886ab1f9d627785f14cea9e25b16f7 (patch)
tree73df7ae212c8f2587abd9860bcb54be3c831a6fb /include/sway/input/seat.h
parentinput/seat: rename seat_apply_input_config (diff)
downloadsway-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 'include/sway/input/seat.h')
-rw-r--r--include/sway/input/seat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index 35a96ace..97e81c19 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -168,6 +168,9 @@ void seat_add_device(struct sway_seat *seat,
168void seat_configure_device(struct sway_seat *seat, 168void seat_configure_device(struct sway_seat *seat,
169 struct sway_input_device *device); 169 struct sway_input_device *device);
170 170
171void seat_configure_device_mapping(struct sway_seat *seat,
172 struct sway_input_device *input_device);
173
171void seat_reset_device(struct sway_seat *seat, 174void seat_reset_device(struct sway_seat *seat,
172 struct sway_input_device *input_device); 175 struct sway_input_device *input_device);
173 176