[PATCH libinput] touchpad: remove software middle button when emulation is enabled

2016-06-30 Thread Peter Hutterer
Expose the middle button emulation on software buttons as proper config option. When enabled, remove the middle button software button area. https://bugs.freedesktop.org/show_bug.cgi?id=96663 Signed-off-by: Peter Hutterer --- doc/clickpad-softbuttons.dox| 4 +

Re: [PATCH wayland-web 1/1] html: Remove trailing whitespace

2016-06-30 Thread Jonas Ådahl
On Thu, Jun 30, 2016 at 03:38:44PM -0700, Yong Bakos wrote: > On Jun 30, 2016, at 3:12 AM, Pekka Paalanen wrote: > > > > On Tue, 28 Jun 2016 08:52:33 -0500 > > Yong Bakos wrote: > > > >> From: Yong Bakos > >> > >> The

Re: Free software license of weston1.9

2016-06-30 Thread Bryce Harrington
On Thu, Jun 30, 2016 at 11:59:58AM +0800, Jonas Ådahl wrote: > On Thu, Jun 30, 2016 at 04:43:29AM +0200, Armin Krezović wrote: > > On 30.06.2016 04:19, 袁嘉伟 wrote: > > > Hi, All: > > > > > > > > > Who does know that the free software license of weston 1.9 is GPL or > > > LGPL? > > >

[PATCH weston v3 3/3] compositor-x11: remove manual mouse button grab/ungrab

2016-06-30 Thread Benoit Gschwind
In current compositor-x11, the mouse buttons are grabbed and ungrabbed manually that cause bugs, in particular when release event is received. For example starting a move of a window with the left mouse button then while holding it clicking the right mouse button release the grab. That allow the

[PATCH weston v3 2/3] compositor-x11: remove redundant state arg of x11_backend_deliver_button_event

2016-06-30 Thread Benoit Gschwind
The "state" variable in x11_backend_deliver_button_event is basically the same as (event->response_type == XCB_BUTTON_PRESS), thus update the code to use the last one. Signed-off-by: Benoit Gschwind --- libweston/compositor-x11.c | 21 ++--- 1 file changed,

[PATCH weston v3 0/3] compositor-x11: improving handling of mouse events

2016-06-30 Thread Benoit Gschwind
v3: - change the patch log of patch 3 v2: - fix assert to comply weston coding style. v1: - add some sanity checking, - remove redundant viarable, - use a better X11 passive grab Benoit Gschwind (3): compositor-x11: add assert to avoid misuse of x11_backend_deliver_button_event

[PATCH weston v3 1/3] compositor-x11: add assert to avoid misuse of x11_backend_deliver_button_event

2016-06-30 Thread Benoit Gschwind
The x11_backend_deliver_button_event can be called with any xcb_generic_event. The assert check if the call is done with the expected events. Signed-off-by: Benoit Gschwind --- libweston/compositor-x11.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH] fullscreen-shell: Remap surface when attaching primary output

2016-06-30 Thread Armin Krezović
When a surface gets created and no outputs are present, it won't get properly configured. This happens because call to configure_presented_surface() depends on a call to fs_output_set_surface() which requires a valid output. This patch makes the code save the surface when no outputs are present

[PATCH weston 1/2] input: Update keyboard serial on press and release

2016-06-30 Thread Olivier Fourdan
Other compositors such as mutter update the keyboard serial for both key press and key release, unlike weston which updates it only on key press. When dealing with popup windows which require a match in serials, if the event that caused the popup to be shown is a key release, then the popup would

[PATCH weston 2/2] shell: Check for keyboard driven popup as well

2016-06-30 Thread Olivier Fourdan
xdh-shell's xdg-popup takes a serial, if the serial doesn't match the compositor would dismiss the popup. Currently, weston checks for pointer and touch serials, but popups can also be triggered by keyboard shortcuts. If a user activates a menu without any previous pointer ineraction with the

Re: [PATCH libinput] gestures: make the gesture movement threshold depending on finger count

2016-06-30 Thread Eric Engestrom
On Thu, Jun 30, 2016 at 02:10:24PM +0100, Eric Engestrom wrote: > The threshold now becomes 0 for 1 finger, which I assume was not the Sorry for the noise, I just realized this code only applies to >2 fingers, so you can just ignore my previous message :)

Re: [PATCH libinput] gestures: make the gesture movement threshold depending on finger count

2016-06-30 Thread Eric Engestrom
On Thu, Jun 30, 2016 at 12:22:10PM +1000, Peter Hutterer wrote: > Increase the mm move threshold for 3 and 4 finger gestures to 2 and 3 mm, > respectively. In multi-finger gestures it's common to have minor movement > while all fingers are being put down or before the conscious movement starts. >

Re: [PATCH v4 wayland-protocols 4/4] tablet: Add pad support to the tablet protocol

2016-06-30 Thread Jonas Ådahl
On Thu, Jun 30, 2016 at 01:10:33PM +0200, Carlos Garnacho wrote: > Hi!, > > On Thu, Jun 30, 2016 at 6:27 AM, Jonas Ådahl wrote: > > On Tue, Jun 28, 2016 at 11:21:50PM +0200, Carlos Garnacho wrote: > >> The pad's interface is similar to the tool interface, a client is notified

Re: [PATCH weston v2 07/12] gl-renderer: Always setup gl-renderer

2016-06-30 Thread Pekka Paalanen
On Thu, 30 Jun 2016 06:26:11 +0200 Armin Krezović wrote: > On 27.06.2016 15:08, Pekka Paalanen wrote: > >> diff --git a/src/gl-renderer.c b/src/gl-renderer.c > >> index 23c0cd7..28c0b50 100644 > >> --- a/src/gl-renderer.c > >> +++ b/src/gl-renderer.c > >> @@ -2873,6

Re: [PATCH weston 2/2] input: Move weston_seat_set_keyboard_focus and document

2016-06-30 Thread Pekka Paalanen
On Wed, 29 Jun 2016 19:04:07 -0700 Bryce Harrington wrote: > Place it with the other weston_seat functions. > > Signed-off-by: Bryce Harrington > --- > libweston/compositor.h | 7 --- > libweston/input.c | 34

Re: [PATCH v4 wayland-protocols 4/4] tablet: Add pad support to the tablet protocol

2016-06-30 Thread Carlos Garnacho
Hi!, On Thu, Jun 30, 2016 at 6:27 AM, Jonas Ådahl wrote: > On Tue, Jun 28, 2016 at 11:21:50PM +0200, Carlos Garnacho wrote: >> The pad's interface is similar to the tool interface, a client is notified of >> the pad after the tablet_added event. >> >> The pad has three

Re: [PATCH wayland-web 1/1] html: Remove trailing whitespace

2016-06-30 Thread Pekka Paalanen
On Tue, 28 Jun 2016 08:52:33 -0500 Yong Bakos wrote: > From: Yong Bakos > > The html files contain trailing whitespace, which is an annoyance when making > a change: editors configured to remove trailing whitespace upon save end up > cluttering

Re: [PATCH v4 wayland-protocols 4/4] tablet: Add pad support to the tablet protocol

2016-06-30 Thread Carlos Garnacho
Hi!, On Thu, Jun 30, 2016 at 5:27 AM, Peter Hutterer wrote: > On Tue, Jun 28, 2016 at 11:21:50PM +0200, Carlos Garnacho wrote: >> The pad's interface is similar to the tool interface, a client is notified of >> the pad after the tablet_added event. >> >> The pad has

About ivi shell and hmi controller

2016-06-30 Thread 袁嘉伟
Hi, All Sorry for I am a beginner in using ivi-shell to develop application. So I don't know the specific sequence and procedure. I want to get some sample code which rendering with egl and using ivi-control to manage the layer, that is similar to simple-egl.c, not

Why track window activeness? (Re: [PATCH weston v3 2/8] compositor: Track inhibition state in weston_surface)

2016-06-30 Thread Pekka Paalanen
On Wed, 29 Jun 2016 16:57:31 -0700 Bryce Harrington wrote: > On Tue, Jun 28, 2016 at 12:15:49PM +0300, Pekka Paalanen wrote: > > On Thu, 23 Jun 2016 17:32:50 -0700 > > Bryce Harrington wrote: > > > > > On Thu, May 26, 2016 at 06:01:27PM +0300,

RE: Re:RE: About ivi shell and hmi controller

2016-06-30 Thread Ucan, Emre (ADITG/SW1)
Hi, Most chip vendors that I know have a GENIVI compliant BSP. Maybe you can ask to chip vendor if they have GENIVI support. Best regards Emre Ucan Software Group I (ADITG/SW1) Tel. +49 5121 49 6937 > -Original Message- > From: 袁嘉伟 [mailto:yuanjw1...@163.com] > Sent: Mittwoch, 29.