Re: shells (Re: [PATCH weston 4/5] Make use of new wl_cursors)

2012-07-26 Thread Pekka Paalanen
On Thu, 26 Jul 2012 12:37:01 -0700 Bill Spitzak wrote: > >> What is the meaning of more than one shell? Or is there another reason > >> for the shell argument? > > > > A shell does window management... > > I think my question was misunderstood. What I meant was "What is the > meaning of more

Re: shells (Re: [PATCH weston 4/5] Make use of new wl_cursors)

2012-07-26 Thread Bill Spitzak
Pekka Paalanen wrote: What is the meaning of more than one shell? Or is there another reason for the shell argument? A shell does window management... I think my question was misunderstood. What I meant was "What is the meaning of more than one shell SIMULTANEOUSLY". If a wayland instan

shells (Re: [PATCH weston 4/5] Make use of new wl_cursors)

2012-07-26 Thread Pekka Paalanen
On Wed, 25 Jul 2012 14:37:47 -0700 Bill Spitzak wrote: > Kristian Høgsberg wrote: > > > We added wl_shell_surface, because we had a lot > > of requests on wl_shell that went like: wl_shell.set_fullscreen(shell, > > surface), ie, took the shell and a surface, and in effect were surface > > reques

Re: [PATCH weston 4/5] Make use of new wl_cursors

2012-07-25 Thread Bill Spitzak
Kristian Høgsberg wrote: We added wl_shell_surface, because we had a lot of requests on wl_shell that went like: wl_shell.set_fullscreen(shell, surface), ie, took the shell and a surface, and in effect were surface requests. So the wl_shell_surface is almost just protocol syntatic sugar, and I'

Re: [PATCH weston 4/5] Make use of new wl_cursors

2012-07-25 Thread Kristian Høgsberg
On Wed, Jul 25, 2012 at 9:11 AM, Daniel Stone wrote: > Hi Ander, > > On 25 July 2012 12:57, Ander Conselvan de Oliveira > wrote: >> On 07/23/2012 09:55 PM, Daniel Stone wrote: >>> @@ -1394,8 +1414,13 @@ surface_attach(struct wl_client *client, >>> >>> weston_surface_attach(&es->surface,

Re: [PATCH weston 4/5] Make use of new wl_cursors

2012-07-25 Thread Daniel Stone
Hi Rob, On 24 July 2012 13:01, Rob Bradford wrote: > On 23 July 2012 19:55, Daniel Stone wrote: >> - wl_pointer_set_cursor(input->pointer, input->display->serial, >> - input->pointer_surface, >> - image->hotspot_x, image->hotspot_y);

Re: [PATCH weston 4/5] Make use of new wl_cursors

2012-07-25 Thread Daniel Stone
Hi Ander, On 25 July 2012 12:57, Ander Conselvan de Oliveira wrote: > On 07/23/2012 09:55 PM, Daniel Stone wrote: >> @@ -1394,8 +1414,13 @@ surface_attach(struct wl_client *client, >> >> weston_surface_attach(&es->surface, buffer); >> >> - if (buffer && es->configure) >> + if

Re: [PATCH weston 4/5] Make use of new wl_cursors

2012-07-25 Thread Ander Conselvan de Oliveira
Hi Daniel, On 07/23/2012 09:55 PM, Daniel Stone wrote: Port the existing manual (and somewhat fragile) cursor-handling code to the new wl_cursor interface. Signed-off-by: Daniel Stone --- clients/window.c |6 +- src/compositor.c | 378 ---

Re: [PATCH weston 4/5] Make use of new wl_cursors

2012-07-24 Thread Rob Bradford
On 23 July 2012 19:55, Daniel Stone wrote: > Port the existing manual (and somewhat fragile) cursor-handling code to > the new wl_cursor interface. > 4 files changed, 183 insertions(+), 251 deletions(-) > > diff --git a/clients/window.c b/clients/window.c > index 93299e1..2a7010a 100644 > --- a/

[PATCH weston 4/5] Make use of new wl_cursors

2012-07-23 Thread Daniel Stone
Port the existing manual (and somewhat fragile) cursor-handling code to the new wl_cursor interface. Signed-off-by: Daniel Stone --- clients/window.c |6 +- src/compositor.c | 378 -- src/compositor.h | 16 ++- src/shell.c | 34 ++