aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-07-28 09:14:26 -0400
committerDrew DeVault <sir@cmpwn.com>2019-07-28 09:19:59 -0400
commitfc955716d499f9f5add878c89e4d311736f077d0 (patch)
treeaa0360cba1fed65ccd2b60d29822e94c87939478 /sway
parentcefc608cb942ce260dcbfc13079e29e684893bfa (diff)
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.
Diffstat (limited to 'sway')
-rw-r--r--sway/input/libinput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/libinput.c b/sway/input/libinput.c
index 60d7da46..d8847a23 100644
--- a/sway/input/libinput.c
+++ b/sway/input/libinput.c
@@ -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;
}