[PATCH v2 libinput] Fix premature flushing of evdev event on mx4 touchscreen

2015-09-07 Thread Andreas Pokorny
The mx4 touchscreen driver emits BTN_TOUCH and BTN_TOOL_FINGER key events on a new contact. Prior to this patch only the BTN_TOUCH event was filtered out. Now the whole range of BTN_ events for tool types and certain builtin multi finger gestures are marked as non-key type. Signed-off-by: Andreas

Re: [PATCH weston] tests: Convert 'xalloc's to 'zalloc's

2015-09-07 Thread Pekka Paalanen
On Fri, 4 Sep 2015 23:47:09 +0530 Seedo Eldho Paul wrote: > xalloc terminates the program abruptly if the requested amount of > memory couldn't be allocated. To insure that the errors are handled > cleanly, use zalloc instead. > > Signed-off-by: Seedo Eldho Paul > --- > tests/internal-screens

Re: [PATCH weston] Revert "compositor-drm: disable hardware cursors"

2015-09-07 Thread Pekka Paalanen
On Mon, 7 Sep 2015 15:36:35 +0200 Giulio Camuffo wrote: > 2015-09-07 16:27 GMT+03:00 Pekka Paalanen : > > From: Pekka Paalanen > > > > This reverts commit 6858383d51b12632481370fdc7d886a1e6bb4ebd. > > > > The main reason for the original patch was a regression on the Intel > > drivers causing co

Re: [PATCH weston] Revert "compositor-drm: disable hardware cursors"

2015-09-07 Thread Giulio Camuffo
2015-09-07 16:27 GMT+03:00 Pekka Paalanen : > From: Pekka Paalanen > > This reverts commit 6858383d51b12632481370fdc7d886a1e6bb4ebd. > > The main reason for the original patch was a regression on the Intel > drivers causing compositor framerate to drop to half during cursor > updates or motion. Th

[PATCH weston] Revert "compositor-drm: disable hardware cursors"

2015-09-07 Thread Pekka Paalanen
From: Pekka Paalanen This reverts commit 6858383d51b12632481370fdc7d886a1e6bb4ebd. The main reason for the original patch was a regression on the Intel drivers causing compositor framerate to drop to half during cursor updates or motion. The Intel problem was fixed in https://github.com/torvalds

Re: [PATCH v2 libinput] Add an API to change pointer acceleration profiles

2015-09-07 Thread Hans de Goede
Hi, On 07-09-15 07:47, Peter Hutterer wrote: The quartett of new config functions is: libinput_device_config_accel_get_profiles libinput_device_config_accel_get_profile libinput_device_config_accel_set_profile libinput_device_config_accel_get_default_profile The

Re: [PATCH libinput] Fix premature flushing of evdev event on mx4 touchscreen

2015-09-07 Thread Andreas Pokorny
Hi, On Mon, Sep 7, 2015 at 3:51 AM, Peter Hutterer wrote: > [...] > > + { {0}, EV_KEY, BTN_TOUCH, 0}, > > + { {0}, EV_KEY, BTN_TOOL_FINGER, 0}, > > + { {0}, EV_SYN, SYN_REPORT, 0} > > + }; > > I'm wondering - wouldn't it be worth to add this device as a s