diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-17 10:39:22 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-12-17 10:39:22 -0500 |
commit | 88bcd43ebf59cfa03a9e9a158c6f7a258c1f7db2 (patch) | |
tree | 4c2b9321ab9d5f7a9aeed35c7d6826c5da4e496f /sway/input/seat.c | |
parent | send keyboard enter on keyboard configuration (diff) | |
download | sway-88bcd43ebf59cfa03a9e9a158c6f7a258c1f7db2.tar.gz sway-88bcd43ebf59cfa03a9e9a158c6f7a258c1f7db2.tar.zst sway-88bcd43ebf59cfa03a9e9a158c6f7a258c1f7db2.zip |
seat fallback config
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r-- | sway/input/seat.c | 3 |
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, | |||
120 | void sway_seat_add_device(struct sway_seat *seat, | 120 | void sway_seat_add_device(struct sway_seat *seat, |
121 | struct sway_input_device *input_device) { | 121 | struct sway_input_device *input_device) { |
122 | if (sway_seat_get_device(seat, input_device)) { | 122 | if (sway_seat_get_device(seat, input_device)) { |
123 | sway_seat_configure_device(seat, input_device); | ||
123 | return; | 124 | return; |
124 | } | 125 | } |
125 | 126 | ||
@@ -246,7 +247,5 @@ void sway_seat_set_config(struct sway_seat *seat, | |||
246 | seat_device->attachment_config = | 247 | seat_device->attachment_config = |
247 | seat_config_get_attachment(seat_config, | 248 | seat_config_get_attachment(seat_config, |
248 | seat_device->input_device->identifier); | 249 | seat_device->input_device->identifier); |
249 | sway_seat_configure_device(seat, seat_device->input_device); | ||
250 | } | 250 | } |
251 | |||
252 | } | 251 | } |