diff options
author | Simon Ser <contact@emersion.fr> | 2023-11-16 15:40:16 +0100 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2023-11-16 16:29:07 +0100 |
commit | 5c99b98805e8171d590d466b2eb21402aaf8de6b (patch) | |
tree | f05df1db90bbc5d7160fd3d6dc94f9442ff57d62 | |
parent | Only reconfigure input mappings on output change (diff) | |
download | sway-5c99b98805e8171d590d466b2eb21402aaf8de6b.tar.gz sway-5c99b98805e8171d590d466b2eb21402aaf8de6b.tar.zst sway-5c99b98805e8171d590d466b2eb21402aaf8de6b.zip |
input/input-manager: drop input_manager_configure_all_inputs
This is now unused.
-rw-r--r-- | include/sway/input/input-manager.h | 2 | ||||
-rw-r--r-- | sway/input/input-manager.c | 7 |
2 files changed, 0 insertions, 9 deletions
diff --git a/include/sway/input/input-manager.h b/include/sway/input/input-manager.h index 6652d60c..4bd51709 100644 --- a/include/sway/input/input-manager.h +++ b/include/sway/input/input-manager.h | |||
@@ -45,8 +45,6 @@ void input_manager_configure_xcursor(void); | |||
45 | 45 | ||
46 | void input_manager_apply_input_config(struct input_config *input_config); | 46 | void input_manager_apply_input_config(struct input_config *input_config); |
47 | 47 | ||
48 | void input_manager_configure_all_inputs(void); | ||
49 | |||
50 | void input_manager_configure_all_input_mappings(void); | 48 | void input_manager_configure_all_input_mappings(void); |
51 | 49 | ||
52 | void input_manager_reset_input(struct sway_input_device *input_device); | 50 | void input_manager_reset_input(struct sway_input_device *input_device); |
diff --git a/sway/input/input-manager.c b/sway/input/input-manager.c index 5300919a..dcaeb056 100644 --- a/sway/input/input-manager.c +++ b/sway/input/input-manager.c | |||
@@ -564,13 +564,6 @@ static void input_manager_configure_input( | |||
564 | } | 564 | } |
565 | } | 565 | } |
566 | 566 | ||
567 | void input_manager_configure_all_inputs(void) { | ||
568 | struct sway_input_device *input_device = NULL; | ||
569 | wl_list_for_each(input_device, &server.input->devices, link) { | ||
570 | input_manager_configure_input(input_device); | ||
571 | } | ||
572 | } | ||
573 | |||
574 | void input_manager_configure_all_input_mappings(void) { | 567 | void input_manager_configure_all_input_mappings(void) { |
575 | struct sway_input_device *input_device; | 568 | struct sway_input_device *input_device; |
576 | wl_list_for_each(input_device, &server.input->devices, link) { | 569 | wl_list_for_each(input_device, &server.input->devices, link) { |