mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 09:20:29 +01:00
tools: libinput-record: drop unused 'print' argument
And rename the function for more clarity Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
12410dfba4
commit
7dc52459b3
1 changed files with 2 additions and 2 deletions
|
|
@ -238,7 +238,7 @@ print_evdev_events(struct record_context *ctx, struct input_event *e, size_t nev
|
|||
}
|
||||
|
||||
static inline size_t
|
||||
handle_frame(struct record_context *ctx, struct record_device *d, bool print)
|
||||
handle_evdev_frame(struct record_context *ctx, struct record_device *d)
|
||||
{
|
||||
struct libevdev *evdev = d->evdev;
|
||||
struct input_event e;
|
||||
|
|
@ -273,7 +273,7 @@ handle_events(struct record_context *ctx, struct record_device *d, bool print)
|
|||
size_t first_idx = d->nevents;
|
||||
size_t evcount;
|
||||
|
||||
evcount = handle_frame(ctx, d, print);
|
||||
evcount = handle_evdev_frame(ctx, d);
|
||||
if (evcount == 0)
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue