Re: [PATCH 3/3] wayland-cursor: Adapt to new shm pool helper functions

2012-08-07 Thread Andre Heider
On Tue, Aug 7, 2012 at 2:15 PM, Ander Conselvan de Oliveira wrote: > void > wl_shm_mapping_set_resize_behavior(struct wl_shm_mapping *mapping, >enum wl_shm_mapping_resize_behavior > behavior); > > Or maybe have that as flags for wl_shm_mapping_create(). But the

Re: [PATCH 3/3] wayland-cursor: Adapt to new shm pool helper functions

2012-08-07 Thread Andre Heider
On Tue, Aug 7, 2012 at 2:15 PM, Ander Conselvan de Oliveira wrote: > I like to have the allocate function try to resize the pool if needed. All > users except wayland-cursor allocate a pool large enough, so they should > never reach and on the other hand its convenient not to have to write the > r

Re: [PATCH 3/3] wayland-cursor: Adapt to new shm pool helper functions

2012-08-07 Thread Ander Conselvan de Oliveira
On 08/04/2012 04:22 PM, Andre Heider wrote: --- cursor/wayland-cursor.c | 115 ++- 1 file changed, 24 insertions(+), 91 deletions(-) diff --git a/cursor/wayland-cursor.c b/cursor/wayland-cursor.c index 10e8f62..8e467f6 100644 --- a/cursor/wayland-c

[PATCH 3/3] wayland-cursor: Adapt to new shm pool helper functions

2012-08-04 Thread Andre Heider
--- cursor/wayland-cursor.c | 115 ++- 1 file changed, 24 insertions(+), 91 deletions(-) diff --git a/cursor/wayland-cursor.c b/cursor/wayland-cursor.c index 10e8f62..8e467f6 100644 --- a/cursor/wayland-cursor.c +++ b/cursor/wayland-cursor.c @@ -31,93