[PATCH libinput 2/3] Add support for SW_TABLET_MODE

2017-09-04 Thread Peter Hutterer
https://bugs.freedesktop.org/show_bug.cgi?id=101008 Signed-off-by: Peter Hutterer --- meson.build| 1 + src/evdev.c| 57 + src/evdev.h| 5 ++ src/libinput.h

[PATCH libinput 3/3] touchpad: if a device has a tablet mode switch, disable the touchpad

2017-09-04 Thread Peter Hutterer
On some devices with a tablet mode switch, the touchpad is inacessible when in tablet mode and we don't really need this except to avoid possible ghost touches (none have been mentioned so far). On other devices like the Lenovo Yoga, the touchpad points to the back of the device and it's hard to us

[PATCH libinput 1/3] evdev: move lid code to the fallback interface

2017-09-04 Thread Peter Hutterer
This was originally designed to deal with devices that only have SW_LID. But it can be moved into the evdev interface to avoid duplication once we have SW_TABLET_MODE. The original assumption of the lid switch device being a standalone device with no other switches is not true, having a separate di

Re: [PATCH xserver] xwayland: Fix a segfault with pointer locking

2017-09-04 Thread Peter Hutterer
On Thu, Aug 31, 2017 at 10:23:00AM +0200, Olivier Fourdan wrote: > Xwayland would crash in some circumstances while trying to issue a > pointer locking when the cursor is hidden when there is no seat focus > window set. > > The crash signature looks like: > > #0 zwp_pointer_constraints_v1_lock_

Re: [PATCH weston 2/2] compositor-drm: remove connector option

2017-09-04 Thread Pekka Paalanen
On Mon, 4 Sep 2017 12:26:31 + "Ucan, Emre (ADITG/ESB)" wrote: > yes Cool. I picked up Daniel's R-b as well and pushed: 156bd065..38ea2d22 master -> master Thanks, pq > > -Original Message- > > From: wayland-devel [mailto:wayland-devel- > > boun...@lists.freedesktop.org] On Beh

RE: [PATCH weston 2/2] compositor-drm: remove connector option

2017-09-04 Thread Ucan, Emre (ADITG/ESB)
yes Best regards Emre Ucan Engineering Software Base (ADITG/ESB) Tel. +49 5121 49 6937 > -Original Message- > From: wayland-devel [mailto:wayland-devel- > boun...@lists.freedesktop.org] On Behalf Of Pekka Paalanen > Sent: Montag, 4. September 2017 14:20 > To: Ucan, Emre (ADITG/ESB) > Cc

Re: [PATCH weston 2/2] compositor-drm: remove connector option

2017-09-04 Thread Pekka Paalanen
On Mon, 4 Sep 2017 12:14:16 + "Ucan, Emre (ADITG/ESB)" wrote: > Hi Pekka, > > You can use it now in your work. Hi Emre, yes, naturally, but is it ok to land it upstream without patch 1? :-) If it's ok, I can land it today. Thanks, pq > > -Original Message- > > From: Pekka Paala

RE: [PATCH weston 2/2] compositor-drm: remove connector option

2017-09-04 Thread Ucan, Emre (ADITG/ESB)
Hi Pekka, You can use it now in your work. Best regards Emre Ucan Engineering Software Base (ADITG/ESB) Tel. +49 5121 49 6937 > -Original Message- > From: Pekka Paalanen [mailto:ppaala...@gmail.com] > Sent: Montag, 4. September 2017 13:59 > To: Ucan, Emre (ADITG/ESB) > Cc: wayland-deve

Re: [PATCH weston 2/2] compositor-drm: remove connector option

2017-09-04 Thread Pekka Paalanen
On Mon, 24 Jul 2017 15:01:27 +0300 Pekka Paalanen wrote: > On Wed, 8 Mar 2017 15:43:18 + > "Ucan, Emre (ADITG/SW1)" wrote: > > > Remove the option, because it is hard to use. > > Drm connector ids are hard to reach for users, > > and they can change when kernel or device tree > > is modifie

Re: [PATCH weston] ivi-shell: Added tests for screen-remove-layer API

2017-09-04 Thread Pekka Paalanen
On Wed, 26 Jul 2017 16:55:40 +0300 Pekka Paalanen wrote: > On Wed, 26 Jul 2017 14:22:49 +0200 > Michael Teyfel wrote: > > > Two cases are tested: success and fail case of the screen-remove-layer API. > > > > Signed-off-by: Michael Teyfel > > --- > > tests/ivi_layout-internal-test.c | 69 > >