aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-01-09 00:09:20 -0500
committerBrian Ashworth <bosrsf04@gmail.com>2019-01-09 11:24:15 -0500
commit4696f49ecc69aa86ea6bd53fc08abf6a32b4a414 (patch)
tree67c4e3d792c49ac7fbf6311c8b0d842768d29bc4 /include/sway/input/seat.h
parent14cab7861294189f820e0830ae84ac7b15271342 (diff)
reload: reset input configs
This resets all input options to their defaults on reload. This also fixes some debug log typos in `input_manager_libinput_config_pointer`.
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 a3c20346..c10b48b1 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -100,6 +100,9 @@ void seat_add_device(struct sway_seat *seat,
void seat_configure_device(struct sway_seat *seat,
struct sway_input_device *device);
+void seat_reset_device(struct sway_seat *seat,
+ struct sway_input_device *input_device);
+
void seat_remove_device(struct sway_seat *seat,
struct sway_input_device *device);