input/libinput: fix typo in set_middle_emulation

This fixes a typo in set_middle_emulation where it would set left
handed instead of middle emulation.
This commit is contained in:
Brian Ashworth 2019-07-28 09:14:26 -04:00 committed by Drew DeVault
parent cefc608cb9
commit fc955716d4

View File

@ -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_set_enabled(dev, mid));
return true;
}