diff options
author | 2018-04-02 12:16:00 -0400 | |
---|---|---|
committer | 2018-04-02 12:16:00 -0400 | |
commit | 35445b40a273ca1548915e1f17097a45aebbd44c (patch) | |
tree | 34ea2de2accaa52945318c20dcba50ea1cdd3258 /sway | |
parent | 80col (diff) | |
download | sway-35445b40a273ca1548915e1f17097a45aebbd44c.tar.gz sway-35445b40a273ca1548915e1f17097a45aebbd44c.tar.zst sway-35445b40a273ca1548915e1f17097a45aebbd44c.zip |
remove unused attachment config
Diffstat (limited to 'sway')
-rw-r--r-- | sway/input/seat.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index 38b617b7..27636c1e 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c | |||
@@ -202,13 +202,6 @@ void seat_configure_device(struct sway_seat *seat, | |||
202 | return; | 202 | return; |
203 | } | 203 | } |
204 | 204 | ||
205 | struct seat_config *seat_config = seat_get_config(seat); | ||
206 | |||
207 | if (seat_config) { | ||
208 | seat_device->attachment_config = | ||
209 | seat_config_get_attachment(seat_config, input_device->identifier); | ||
210 | } | ||
211 | |||
212 | switch (input_device->wlr_device->type) { | 205 | switch (input_device->wlr_device->type) { |
213 | case WLR_INPUT_DEVICE_POINTER: | 206 | case WLR_INPUT_DEVICE_POINTER: |
214 | seat_configure_pointer(seat, seat_device); | 207 | seat_configure_pointer(seat, seat_device); |
@@ -426,9 +419,6 @@ struct sway_container *seat_get_focus_by_type(struct sway_seat *seat, | |||
426 | void seat_apply_config(struct sway_seat *seat, | 419 | void seat_apply_config(struct sway_seat *seat, |
427 | struct seat_config *seat_config) { | 420 | struct seat_config *seat_config) { |
428 | struct sway_seat_device *seat_device = NULL; | 421 | struct sway_seat_device *seat_device = NULL; |
429 | wl_list_for_each(seat_device, &seat->devices, link) { | ||
430 | seat_device->attachment_config = NULL; | ||
431 | } | ||
432 | 422 | ||
433 | if (!seat_config) { | 423 | if (!seat_config) { |
434 | return; | 424 | return; |