summaryrefslogtreecommitdiff
path: root/sway/input/seat.c
diff options
context:
space:
mode:
authorTony Crisci <[email protected]>2017-12-17 10:39:22 -0500
committerTony Crisci <[email protected]>2017-12-17 10:39:22 -0500
commit88bcd43ebf59cfa03a9e9a158c6f7a258c1f7db2 (patch)
tree4c2b9321ab9d5f7a9aeed35c7d6826c5da4e496f /sway/input/seat.c
parente27eff8a29abd74448322ae78baa99a489e43620 (diff)
seat fallback config
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r--sway/input/seat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index 8fe82b46..94503687 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -120,6 +120,7 @@ void sway_seat_configure_device(struct sway_seat *seat,
void sway_seat_add_device(struct sway_seat *seat,
struct sway_input_device *input_device) {
if (sway_seat_get_device(seat, input_device)) {
+ sway_seat_configure_device(seat, input_device);
return;
}
@@ -246,7 +247,5 @@ void sway_seat_set_config(struct sway_seat *seat,
seat_device->attachment_config =
seat_config_get_attachment(seat_config,
seat_device->input_device->identifier);
- sway_seat_configure_device(seat, seat_device->input_device);
}
-
}