Skip to content

Commit

Permalink
input/libinput: fix typo in set_middle_emulation
Browse files Browse the repository at this point in the history
This fixes a typo in set_middle_emulation where it would set left
handed instead of middle emulation.
  • Loading branch information
RedSoxFan committed Jul 28, 2019
1 parent f984f21 commit aabf373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sway/input/libinput.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static bool set_middle_emulation(struct libinput_device *dev,
return false;
}
sway_log(SWAY_DEBUG, "middle_emulation_set_enabled(%d)", mid);
log_status(libinput_device_config_left_handed_set(dev, mid));
log_status(libinput_device_config_middle_emulation__handed_set(dev, mid));
return true;
}

Expand Down

0 comments on commit aabf373

Please sign in to comment.