mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
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:
parent
61929e26e1
commit
31749cfa47
@ -1164,7 +1164,7 @@ process_device_event (ClutterDeviceManagerEvdev *manager_evdev,
|
||||
time = libinput_event_pointer_get_time (button_event);
|
||||
button = libinput_event_pointer_get_button (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);
|
||||
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user