Re: [PATCH RFC] protocol: add xslt stylesheet to prettify the protocol

2012-02-23 Thread Pekka Paalanen
On Thu, 23 Feb 2012 11:57:31 +0200 Tiago Vignatti tiago.vigna...@linux.intel.com wrote: On 02/23/2012 07:58 AM, Peter Hutterer wrote: Includes rudimentary styling only. Signed-off-by: Peter Huttererpeter.hutte...@who-t.net --- A few things to note: - I'm not a designer - Having a

Re: [PATCH RFC] protocol: add xslt stylesheet to prettify the protocol

2012-02-23 Thread Peter Hutterer
On 23/02/12 19:57 , Tiago Vignatti wrote: On 02/23/2012 07:58 AM, Peter Hutterer wrote: Includes rudimentary styling only. Signed-off-by: Peter Huttererpeter.hutte...@who-t.net --- A few things to note: - I'm not a designer - Having a html version of the protocol makes it a lot easier to read,

[PATCH 1/2] shell: don't assign output for surface of type none

2012-02-23 Thread Ander Conselvan de Oliveira
If map is called with a surface of type none it will call weston_surface_assign_output, even though the surface will not be mapped. --- src/shell.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/shell.c b/src/shell.c index 3d5dfd9..8628462 100644 --- a/src/shell.c

[PATCH 2/2] compositor: assign output to drag surfaces

2012-02-23 Thread Ander Conselvan de Oliveira
Otherwise we endup with a surface that is mapped but with outtup nil. --- src/compositor.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 5a424fa..97f7c3e 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1797,6 +1797,7 @@

[RFC] Cursor sprites as regular surfaces

2012-02-23 Thread Ander Conselvan de Oliveira
Here's an RFC for implementing the cursor sprites as regular surfaces change we have been talking about. This removes the input_device.attach request and adds two new ones: set_pointer_surface and set_hotspot. Each client can set a pointer surface that is displayed when it has pointer focus. The

[PATCH] protocol: make pointer images regular surfaces

2012-02-23 Thread Ander Conselvan de Oliveira
Replace the input_device.attach request with requests for setting a pointer surface and a hotspot. This surface is client specific and will be showed as the cursor sprite when one of the clients surfaces has pointer focus. --- protocol/wayland.xml | 27 ++- 1 files

[PATCH 2/4] shell: don't assign output for surface of type none

2012-02-23 Thread Ander Conselvan de Oliveira
If map is called with a surface of type none it will call weston_surface_assign_output, even though the surface will not be mapped. --- src/shell.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/shell.c b/src/shell.c index 3d5dfd9..8628462 100644 --- a/src/shell.c

[PATCH 4/4] compositor: implement new pointer surface protocol

2012-02-23 Thread Ander Conselvan de Oliveira
--- clients/window.c | 25 +++- src/compositor.c | 180 -- src/compositor.h | 10 +++ 3 files changed, 179 insertions(+), 36 deletions(-) diff --git a/clients/window.c b/clients/window.c index ac26f52..e503182 100644 ---

Re: [PATCH RFC] protocol: add xslt stylesheet to prettify the protocol

2012-02-23 Thread Michael Hasselmann
On Thu, 2012-02-23 at 21:20 +1000, Peter Hutterer wrote: On 23/02/12 19:57 , Tiago Vignatti wrote: On 02/23/2012 07:58 AM, Peter Hutterer wrote: Includes rudimentary styling only. Signed-off-by: Peter Huttererpeter.hutte...@who-t.net --- A few things to note: - I'm not a designer

Re: Touch events

2012-02-23 Thread Bill Spitzak
Chase Douglas wrote: The client won't see the third finger if it touches outside its window. In the wayland case, only the WM has all the info needed to determine if a touch is part of a global gesture. The WM needs to make the decision, not the client. I'm pretty certain all touch events

Re: Touch events

2012-02-23 Thread Chase Douglas
On 02/23/2012 12:22 PM, Bill Spitzak wrote: Chase Douglas wrote: The client won't see the third finger if it touches outside its window. In the wayland case, only the WM has all the info needed to determine if a touch is part of a global gesture. The WM needs to make the decision, not the

Re: [PATCH RFC] protocol: add xslt stylesheet to prettify the protocol

2012-02-23 Thread Kristian Hoegsberg
On Thu, Feb 23, 2012 at 03:58:37PM +1000, Peter Hutterer wrote: Includes rudimentary styling only. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- A few things to note: - I'm not a designer - Having a html version of the protocol makes it a lot easier to read, and it

Re: [PATCH RFC] protocol: add xslt stylesheet to prettify the protocol

2012-02-23 Thread Kristian Høgsberg
On Thu, Feb 23, 2012 at 4:26 PM, Kristian Hoegsberg hoegsb...@gmail.com wrote: On Thu, Feb 23, 2012 at 03:58:37PM +1000, Peter Hutterer wrote: Includes rudimentary styling only. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- A few things to note: - I'm not a designer - Having a

Re: [PATCH] Fix pointer position clipping.

2012-02-23 Thread Kristian Hoegsberg
On Wed, Feb 22, 2012 at 01:57:51PM -0700, Scott Moreau wrote: Yup, good fix, applied. Kristian --- src/compositor.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 5a424fa..1963322 100644 --- a/src/compositor.c

Re: Touch events

2012-02-23 Thread Daniel Stone
Hi, On 23 February 2012 20:22, Bill Spitzak spit...@gmail.com wrote: Chase Douglas wrote: The client won't see the third finger if it touches outside its window. In the wayland case, only the WM has all the info needed to determine if a touch is part of a global gesture. The WM needs to make

Re: [PATCH] Fix pointer position clipping.

2012-02-23 Thread Scott Moreau
On Thu, Feb 23, 2012 at 3:47 PM, Kristian Hoegsberg hoegsb...@gmail.comwrote: On Wed, Feb 22, 2012 at 01:57:51PM -0700, Scott Moreau wrote: Yup, good fix, applied. Kristian Applied but not pushed? I don't see it in the current weston log history.

Re: [RFC v4] Introduce output zoom.

2012-02-23 Thread Scott Moreau
On Thu, Feb 23, 2012 at 3:54 PM, Kristian Hoegsberg hoegsb...@gmail.comwrote: On Wed, Feb 22, 2012 at 02:21:41PM -0700, Scott Moreau wrote: Ideally, we would want to use modifier+Scroll binding but that will have to wait for axis events. For now we just use keybindings. Zoom in/out with

[PATCH] Restructure output zoom key handling.

2012-02-23 Thread Scott Moreau
This effectively eats the keybinding events, as we don't want them sent to clients. --- src/shell.c | 60 +++--- 1 files changed, 40 insertions(+), 20 deletions(-) diff --git a/src/shell.c b/src/shell.c index ee71dcc..d949d0c 100644 ---

Re: [PATCH RFC] protocol: add xslt stylesheet to prettify the protocol

2012-02-23 Thread Peter Hutterer
On Thu, Feb 23, 2012 at 04:26:23PM -0500, Kristian Hoegsberg wrote: On Thu, Feb 23, 2012 at 03:58:37PM +1000, Peter Hutterer wrote: Includes rudimentary styling only. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- A few things to note: - I'm not a designer - Having a