[PATCH wayland] protocol: Change wording of subsurface placement scheduling

2015-03-02 Thread Jonas Ã…dahl
Change wording to be more consistent with other parts of the subsurface protocol. Before this change, wl_subsurface.set_position explicitly stated that the new state was to be applied on the parents wl_surface.commit and wl_subsurface.place_above/below only said "on the next commit of the parent su

Re: [PATCH v2 libinput] tablet: sync tools already in proximity at startup

2015-03-02 Thread Benjamin Tissoires
On Mon, Mar 2, 2015 at 7:59 PM, Peter Hutterer wrote: > If a tool is in proximity when we init, send a proximity event immediately. > > This is only partially reliable due to the current kernel behavior: > * if the tool comes into proximity when there is no evdev client, the device > won't send

Re: [PATCH] Enhance wayland-scanner so it can use files for input and output.

2015-03-02 Thread Bill Spitzak
Probably nitpicky as well, but you may also want to add: - If argc is 3 then use the name as the input file but use stdout for the output. - A filename of "-" leaves it using stdin/out. Neither of these are very important, just trying to match standard usage of other tools. On 03/02/2015 0

[PATCH v2 libinput] tablet: sync tools already in proximity at startup

2015-03-02 Thread Peter Hutterer
If a tool is in proximity when we init, send a proximity event immediately. This is only partially reliable due to the current kernel behavior: * if the tool comes into proximity when there is no evdev client, the device won't send any events and must be lifted out-of-proximity first. * if the t

GSoC 2015: The X.Org Foundation has been accepted as a mentoring organisation

2015-03-02 Thread Martin Peres
Hello, I have the pleasure to announce you that the X.Org Foundation has been accepted as a mentoring organisation for the Google Summer of Code 2015. This means that your project can receive students again this year! Here are the important dates coming[0]: - 16 March: Student application per

Re: [PATCH libinput 19/26] tablet: support z-rotation for the mouse/lens tool

2015-03-02 Thread Benjamin Tissoires
On Mon, Mar 2, 2015 at 1:53 AM, Peter Hutterer wrote: > On Thu, Feb 26, 2015 at 04:20:49PM -0500, Benjamin Tissoires wrote: >> On Tue, Feb 24, 2015 at 1:21 AM, Peter Hutterer >> wrote: >> > Needs to be calculated from the x/y tilt values, the mouse has a fixed >> > offset >> > of 175 degrees cou

[PATCH weston 0/4] View clipping

2015-03-02 Thread Pekka Paalanen
From: Pekka Paalanen Hi, this is the initial series for view clipping. See the commit "compositor: add weston_view_set_mask() API and state" for an explanation of what this new feature is. This feature is written for ivi-shell to use in the future. For now, only gl-renderer impements view clipp

[PATCH weston 1/4] compositor: restructure weston_compositor_pick_view()

2015-03-02 Thread Pekka Paalanen
From: Pekka Paalanen Expand weston_compositor_pick_view() so it is easier to read. Use short-hand variables, that make it easier to add one more test in the future. Write the output coordinate pointers only when returning non-NULL. Signed-off-by: Pekka Paalanen Reviewed-by: Nobuhiko Tanibata

[PATCH weston 2/4] compositor: add weston_view_set_mask() API and state

2015-03-02 Thread Pekka Paalanen
From: Pekka Paalanen Add API for setting a clip ('scissor' in the code) rectangle per view, in surface coordinates. Ivi-shell requires this feature to be able to implement the IVI Layer Manager API, which includes clipping of surfaces. The names weston_view_set_mask() and weston_view_set_mask_in

[PATCH weston 4/4] gl-renderer: implement view scissor

2015-03-02 Thread Pekka Paalanen
From: Pekka Paalanen Implement support for weston_view_set_mask(). Signed-off-by: Pekka Paalanen Reviewed-by: Nobuhiko Tanibata Tested-by: Nobuhiko Tanibata --- src/gl-renderer.c | 22 +++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/src/gl-renderer.c b/s

[PATCH weston 3/4] compositor-drm: avoid scissor in assign_planes

2015-03-02 Thread Pekka Paalanen
From: Pekka Paalanen Support for scissor not implemented yet on cursor overlay or for direct scanout. Overlays OTOH use the boundingbox to compute their coordinates, so that should probably work. Signed-off-by: Pekka Paalanen Reviewed-by: Nobuhiko Tanibata Tested-by: Nobuhiko Tanibata --- sr

[PATCH wayland v3] Add support for direct file reading and writing in wayland-scanner.

2015-03-02 Thread Jussi Pakkanen
Add support for direct file reading and writing in wayland-scanner. Signed-off-by: Jussi Pakkanen --- src/scanner.c | 26 +- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/src/scanner.c b/src/scanner.c index 1f1e59a..efdc69c 100644 --- a/src/scanner.c +++

Re: [PATCH weston] Separate declarations from code.

2015-03-02 Thread Pekka Paalanen
On Mon, 2 Mar 2015 13:24:36 +0100 Carlos Olmedo Escobar wrote: > Thanks Pekka for pointing that out. > > Signed-off-by: Carlos Olmedo Escobar > --- > ivi-shell/ivi-layout-transition.c | 21 +++-- > 1 file changed, 15 insertions(+), 6 deletions(-) > > diff --git a/ivi-shell/iv

[PATCH weston] Separate declarations from code.

2015-03-02 Thread Carlos Olmedo Escobar
Thanks Pekka for pointing that out. Signed-off-by: Carlos Olmedo Escobar --- ivi-shell/ivi-layout-transition.c | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/ivi-shell/ivi-layout-transition.c b/ivi-shell/ivi-layout-transition.c index 904e8d6..f691d35

Re: [PATCH] Enhance wayland-scanner so it can use files for input and output.

2015-03-02 Thread Jussi Pakkanen
On Mon, Mar 2, 2015 at 9:52 AM, Pekka Paalanen wrote: > in addition to the other review commments, I believe the > standard way for changing the file association for stdout is to use > freopen(). Is there a reason why you didn't use freopen()? > The main one is that I did not know freopen exist

Re: [PATCH weston 1/3] compositor,shell: move debug key code to core

2015-03-02 Thread Daniel Stone
Hi, On 2 March 2015 at 08:33, Pekka Paalanen wrote: > The code for the key binding that triggers debug key bindings, that is, > the code that makes mod+SHIFT+SPACE work, used to live in shell.c. I > want to make the debug key bindings available in ivi-shell too, so this > code should be shared. M

[PATCH weston 1/3] compositor,shell: move debug key code to core

2015-03-02 Thread Pekka Paalanen
From: Pekka Paalanen The code for the key binding that triggers debug key bindings, that is, the code that makes mod+SHIFT+SPACE work, used to live in shell.c. I want to make the debug key bindings available in ivi-shell too, so this code should be shared. Move it to core. The code was originall

[PATCH weston 3/3] ivi-shell: add exit binding

2015-03-02 Thread Pekka Paalanen
From: Pekka Paalanen Let's me easily exit ivi-shell when testing with the DRM-backend. Only available in ivi-shell developer mode. Signed-off-by: Pekka Paalanen Acked-by: Nobuhiko Tanibata --- ivi-shell/ivi-shell.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff

[PATCH weston 2/3] ivi-shell: developer mode debug key bindings

2015-03-02 Thread Pekka Paalanen
From: Pekka Paalanen Add a weston.ini option for ivi-shell to enable "developer mode". When developer mode is enabled, hook up the debug key bindings. Signed-off-by: Pekka Paalanen Acked-by: Nobuhiko Tanibata --- ivi-shell/ivi-shell.c | 37 - ivi-shell/w