From fc955716d499f9f5add878c89e4d311736f077d0 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Sun, 28 Jul 2019 09:14:26 -0400 Subject: 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. --- sway/input/libinput.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway') 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; } -- cgit v1.2.3