[PATCH xserver] dri2: Pass a ScreenPtr through to the driver's AuthMagic function. (v3)

2012-06-28 Thread Christopher James Halse Rogers
xwayland drivers need access to their screen private data to authenticate. Now that drivers no longer have direct access to the global screen arrays, this needs to be passed in as function context. v2: Don't break ABI v3: Paint the bikeshed blue; drop fd from AuthMagic2ProcPtr prototype Cherry-pi

Re: [PATCH weston 3/4] shell: Show approprite cursors during move and resize grabs

2012-06-28 Thread Kristian Høgsberg
On Thu, Jun 28, 2012 at 06:08:05PM +0300, Ander Conselvan de Oliveira wrote: > This patch expands the busy cursor mechanism so that it is possible for > the desktop-shell client to show the appropriate cursor during grabs. Ah, that worked out pretty well, committed. Happy to see this little detai

Re: [PATCH wayland] protocol: Change wording of pointer.set_cursor()

2012-06-28 Thread Kristian Høgsberg
On Thu, Jun 28, 2012 at 06:08:03PM +0300, Ander Conselvan de Oliveira wrote: > Change the description of pointer.set_cursor() so that a client without > pointer focus but that currently owns the pointer surface can update the > hotspot using it. Yeah, that's consistent, nice. Kristian > --- > p

[PATCH weston 4/4] shell: Don't move fullscreen surfaces

2012-06-28 Thread Ander Conselvan de Oliveira
--- src/shell.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/shell.c b/src/shell.c index b6b7a06..07edf5e 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1014,6 +1014,9 @@ surface_move(struct shell_surface *shsurf, struct weston_seat *ws) if (!shsurf)

[PATCH weston 2/4] compositor: Always allow owner of pointer surface to change the hotspot

2012-06-28 Thread Ander Conselvan de Oliveira
Make pointer_set_cursor() succeed if a client that doesn't have pointer focus but is the owner of the current pointer surface calls it. --- src/compositor.c | 26 +++--- 1 files changed, 15 insertions(+), 11 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index

[PATCH weston 3/4] shell: Show approprite cursors during move and resize grabs

2012-06-28 Thread Ander Conselvan de Oliveira
This patch expands the busy cursor mechanism so that it is possible for the desktop-shell client to show the appropriate cursor during grabs. --- clients/desktop-shell.c| 81 +++ protocol/desktop-shell.xml | 37 +++- src/shell.c

[PATCH wayland] protocol: Change wording of pointer.set_cursor()

2012-06-28 Thread Ander Conselvan de Oliveira
Change the description of pointer.set_cursor() so that a client without pointer focus but that currently owns the pointer surface can update the hotspot using it. --- protocol/wayland.xml |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/protocol/wayland.xml b/protocol/w