diff options
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r-- | sway/input/seat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index e88bcfd1..963d38b2 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c | |||
@@ -269,11 +269,11 @@ static void seat_apply_input_config(struct sway_seat *seat, | |||
269 | } | 269 | } |
270 | wlr_log(L_DEBUG, "Applying input config to %s", | 270 | wlr_log(L_DEBUG, "Applying input config to %s", |
271 | sway_device->input_device->identifier); | 271 | sway_device->input_device->identifier); |
272 | if (ic->mapped_output) { | 272 | if (ic->mapped_to_output) { |
273 | struct sway_container *output = NULL; | 273 | struct sway_container *output = NULL; |
274 | for (int i = 0; i < root_container.children->length; ++i) { | 274 | for (int i = 0; i < root_container.children->length; ++i) { |
275 | struct sway_container *_output = root_container.children->items[i]; | 275 | struct sway_container *_output = root_container.children->items[i]; |
276 | if (strcasecmp(_output->name, ic->mapped_output) == 0) { | 276 | if (strcasecmp(_output->name, ic->mapped_to_output) == 0) { |
277 | output = _output; | 277 | output = _output; |
278 | break; | 278 | break; |
279 | } | 279 | } |