mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-07 07:18:08 +02:00
test: litest_is_button_event should take an unsigned int
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
0cd36225d7
commit
799ee6c53e
2 changed files with 2 additions and 2 deletions
|
|
@ -1457,7 +1457,7 @@ litest_create_uinput_device(const char *name, struct input_id *id, ...)
|
||||||
|
|
||||||
struct libinput_event_pointer*
|
struct libinput_event_pointer*
|
||||||
litest_is_button_event(struct libinput_event *event,
|
litest_is_button_event(struct libinput_event *event,
|
||||||
int button,
|
unsigned int button,
|
||||||
enum libinput_button_state state)
|
enum libinput_button_state state)
|
||||||
{
|
{
|
||||||
struct libinput_event_pointer *ptrev;
|
struct libinput_event_pointer *ptrev;
|
||||||
|
|
|
||||||
|
|
@ -198,7 +198,7 @@ void litest_drain_events(struct libinput *li);
|
||||||
void litest_assert_empty_queue(struct libinput *li);
|
void litest_assert_empty_queue(struct libinput *li);
|
||||||
struct libinput_event_pointer * litest_is_button_event(
|
struct libinput_event_pointer * litest_is_button_event(
|
||||||
struct libinput_event *event,
|
struct libinput_event *event,
|
||||||
int button,
|
unsigned int button,
|
||||||
enum libinput_button_state state);
|
enum libinput_button_state state);
|
||||||
void litest_assert_button_event(struct libinput *li,
|
void litest_assert_button_event(struct libinput *li,
|
||||||
unsigned int button,
|
unsigned int button,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue