aboutsummaryrefslogtreecommitdiff
path: root/sway/input/seat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r--sway/input/seat.c4
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,
}
wlr_log(L_DEBUG, "Applying input config to %s",
sway_device->input_device->identifier);
- if (ic->mapped_output) {
+ if (ic->mapped_to_output) {
struct sway_container *output = NULL;
for (int i = 0; i < root_container.children->length; ++i) {
struct sway_container *_output = root_container.children->items[i];
- if (strcasecmp(_output->name, ic->mapped_output) == 0) {
+ if (strcasecmp(_output->name, ic->mapped_to_output) == 0) {
output = _output;
break;
}