aboutsummaryrefslogtreecommitdiff
path: root/sway/input/seat.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-26 12:32:10 +0200
committerGitHub <noreply@github.com>2018-04-26 12:32:10 +0200
commit64e0731cc7206e8becfe6f80bc58362aa53f07b6 (patch)
tree3736887591d8464f577d2ad4a753a404d38d77ae /sway/input/seat.c
parentd94bb78ff3ade39cc848d0acfd571b9ac6917868 (diff)
parentff61df17ffd358b03663a35fe7140e51e1ee98fc (diff)
Merge pull request #1860 from emersion/input-map-from
Add map_from_region command
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;
}