evdev: Follow libinput enum rename

s/libinput_pointer_button_state/libinput_button_state/
s/LIBINPUT_POINTER_BUTTON_STATE_/LIBINPUT_BUTTON_STATE_/

https://bugzilla.gnome.org/show_bug.cgi?id=731254
This commit is contained in:
Jonas Ådahl 2014-06-05 09:50:33 +02:00 committed by Emmanuele Bassi
parent 61929e26e1
commit 31749cfa47

View File

@ -1164,7 +1164,7 @@ process_device_event (ClutterDeviceManagerEvdev *manager_evdev,
time = libinput_event_pointer_get_time (button_event); time = libinput_event_pointer_get_time (button_event);
button = libinput_event_pointer_get_button (button_event); button = libinput_event_pointer_get_button (button_event);
button_state = libinput_event_pointer_get_button_state (button_event) == button_state = libinput_event_pointer_get_button_state (button_event) ==
LIBINPUT_POINTER_BUTTON_STATE_PRESSED; LIBINPUT_BUTTON_STATE_PRESSED;
notify_button (device, time, button, button_state); notify_button (device, time, button, button_state);
break; break;