[PATCH libinput] Change sendevents configuration to use bitmasks

2014-11-02 Thread Peter Hutterer
In the future, we should allow multiple sendevent modes set simultanously. Change the API to use a bitmask instead of a single return value. Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 8 ++-- src/evdev.c | 5 ++--- src/libinput.c | 8 src/lib

Re: [PATCH 1/4] connection: Fix sendmsg() on FreeBSD

2014-11-02 Thread Bill Spitzak
On 11/01/2014 10:06 AM, Philip Withnall wrote: It expects ((msg_controllen == 0) == (msg_control == NULL)), and returns EINVAL otherwise. It can't hurt to be tidy about things on other platforms either though. See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=99356#c5 Signed-off-by: Phili