diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-06-10 09:05:40 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-06-10 09:06:17 +1000 |
commit | 3b2e3e6f9e6cbbc2c40bb1bc18603eb241c17338 (patch) | |
tree | df3e96da15c2ad31137d2867bffd931f7e203668 /src | |
parent | e7f7ed9303c6a9f9fa7462beb60afc2b2a094fa6 (diff) |
Require libinput 0.3.0
And add fix for the renamed button state enum
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/libinput.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libinput.c b/src/libinput.c index 495f961..9f03876 100644 --- a/src/libinput.c +++ b/src/libinput.c @@ -373,7 +373,7 @@ xf86libinput_handle_button(InputInfoPtr pInfo, struct libinput_event_pointer *ev default: /* no touchpad actually has those buttons */ return; } - is_press = (libinput_event_pointer_get_button_state(event) == LIBINPUT_POINTER_BUTTON_STATE_PRESSED); + is_press = (libinput_event_pointer_get_button_state(event) == LIBINPUT_BUTTON_STATE_PRESSED); xf86PostButtonEvent(dev, Relative, button, is_press, 0, 0); } |