Copy an event list.
#include <gestures/event_list.h>
int event_list_copy(struct event_list *from_list, struct event_list *to_list)
A pointer to the event list to copy from.
A pointer to the event list to copy to.
This function copies the events from one event list to another.
0 on success, -1 if to_list is too small to hold all events.