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.
master
Brian Ashworth 5 years ago committed by Drew DeVault
parent cefc608cb9
commit fc955716d4

@ -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;
}

Loading…
Cancel
Save