[ANNOUNCE] libinput 1.7.1

2017-04-24 Thread Peter Hutterer
libinput 1.7.1 is now available. Almost all the patches are documentation fixes and typos. One patch fixes a test case failure for recent systemd versions, the other patch fixes a minor issue with the touchpad code that was likely never triggered anyway. Nate Graham (1): Fix build instructio

Re: [PATCH libinput 1/3] udev: Add name-based input device detection without dmi

2017-04-24 Thread Peter Hutterer
On Mon, Apr 24, 2017 at 03:31:39PM +0200, Paul Kocialkowski wrote: > Le lundi 24 avril 2017 à 16:11 +1000, Peter Hutterer a écrit : > > On Fri, Apr 21, 2017 at 01:31:56PM +0200, Paul Kocialkowski wrote: > > > Some devices do not use dmi at all (this is the case on most non-x86 > > > platforms, such

Re: [PATCH libinput 3/3] udev: Decrease high pressure value for Elantech touchpads

2017-04-24 Thread Peter Hutterer
On Mon, Apr 24, 2017 at 03:43:56PM +0200, Paul Kocialkowski wrote: > Le lundi 24 avril 2017 à 16:22 +1000, Peter Hutterer a écrit : > > On Fri, Apr 21, 2017 at 01:31:58PM +0200, Paul Kocialkowski wrote: > > > The high pressure value for Elantech touchpads (both PS/2 and I2C) is > > > not adapted to

Re: [RFC v2 wayland-protocols] inputfd - direct input access protocol

2017-04-24 Thread Peter Hutterer
On Mon, Apr 24, 2017 at 02:19:45PM +1000, Peter Hutterer wrote: > On Sun, Apr 23, 2017 at 09:47:20AM -0700, Roderick Colenbrander wrote: > > On Mon, Apr 17, 2017 at 9:05 PM, Peter Hutterer > > wrote: > > > > > > On Fri, Apr 07, 2017 at 01:43:57PM +0300, Pekka Paalanen wrote: > > > > On Fri, 7 Apr

Re: [RFC v2 wayland-protocols] inputfd - direct input access protocol

2017-04-24 Thread Peter Hutterer
On Mon, Apr 24, 2017 at 10:57:37AM +0300, Pekka Paalanen wrote: > On Sun, 23 Apr 2017 09:47:20 -0700 > Roderick Colenbrander wrote: > > > We originally discussed maybe using pipes and now more unix domain > > sockets for 'non kernel evdev fds'. As part of the discussion we > > realized ioctls wou

Re: [PATCH 1/2] Introduce keyboard grabbing protocol for Xwayland

2017-04-24 Thread Olivier Fourdan
hi Kristian, > > Yes, that's precisely the whole point of this protocol (and grabs in > > general) :) > > > > Take the attached sample code for example, it maps a single override > > redirect window (one that no X11 window manager would focus, because it's > > an O-R) and issues an active keyboar

Re: [PATCH 1/2] Introduce keyboard grabbing protocol for Xwayland

2017-04-24 Thread Kristian Høgsberg
On Fri, Apr 21, 2017 at 5:50 AM Olivier Fourdan wrote: > > Hi Jonas, > > > > [...] > > > For that last point, I'd rather use: > > > > > > * does not guarantee that events sent to this client are > continuous, > > > a compositor may change and reroute keyboard events while the > grab > >

Re: [weston 0/8] Implement NET_WM_SYNC_REQUEST basic support

2017-04-24 Thread Olivier Fourdan
Hi, Sorry, I missed a couple more questions... You may want to remove the log each time a sync notify is received before landing the patch: > +static void > +weston_wm_handle_sync_alarm_notify(struct weston_wm *wm, > +xcb_generic_event_t *event) > +{ > + xcb

Re: [weston 0/8] Implement NET_WM_SYNC_REQUEST basic support

2017-04-24 Thread Olivier Fourdan
Hi, > On 11 April 2017 at 21:52, Louis-Francis Ratté-Boulianne > wrote: > > Implement NET_WM_SYNC_REQUEST protocol for throtting X11 window resizes > > in Weston's XWM. We wait for the window to be drawn (by setting an > > alarm on the sync counter) before configuring the window again. > > > > I

Re: [PATCH libinput 3/3] udev: Decrease high pressure value for Elantech touchpads

2017-04-24 Thread Paul Kocialkowski
Le lundi 24 avril 2017 à 16:22 +1000, Peter Hutterer a écrit : > On Fri, Apr 21, 2017 at 01:31:58PM +0200, Paul Kocialkowski wrote: > > The high pressure value for Elantech touchpads (both PS/2 and I2C) is > > not adapted to various devices, on which the touchpad is barely usable. > > > > Decreasi

Re: [PATCH libinput 2/3] udev: Add support for I2C Elan touchpads (without dmi)

2017-04-24 Thread Paul Kocialkowski
Le lundi 24 avril 2017 à 16:15 +1000, Peter Hutterer a écrit : > On Fri, Apr 21, 2017 at 01:31:57PM +0200, Paul Kocialkowski wrote: > > This adds support for I2C Elan touchpads, such as the ones found in > > various ARM CrOS devices. These devices do not use dmi. > > > > The pressure range is copi

Re: [PATCH libinput 1/3] udev: Add name-based input device detection without dmi

2017-04-24 Thread Paul Kocialkowski
Le lundi 24 avril 2017 à 16:11 +1000, Peter Hutterer a écrit : > On Fri, Apr 21, 2017 at 01:31:56PM +0200, Paul Kocialkowski wrote: > > Some devices do not use dmi at all (this is the case on most non-x86 > > platforms, such as arm and arm64) but should able to select specific > > quirks based on t

Re: [PATCH libinput] Add doc to discourage use of libinput_device_get_output_name()

2017-04-24 Thread Pekka Paalanen
On Mon, 24 Apr 2017 10:01:49 +1000 Peter Hutterer wrote: > This is a leftover from when libinput was part of weston and we could > interpret properties correctly. Realistically, the only way this could work > with libinput as external library is if we define precisely what the > definition of an

Re: [RFC v2 wayland-protocols] inputfd - direct input access protocol

2017-04-24 Thread Pekka Paalanen
On Sun, 23 Apr 2017 09:47:20 -0700 Roderick Colenbrander wrote: > We originally discussed maybe using pipes and now more unix domain > sockets for 'non kernel evdev fds'. As part of the discussion we > realized ioctls wouldn't be available. Thinking about it some more, I > think the lack of ioctl