[PATCH] Weston: Free allocated cursors array when destroying

2012-05-27 Thread yan . wang
From: Yan Wang This array is allocated in create_cursors(). It should be freed in destroy_cursors(). --- clients/window.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/clients/window.c b/clients/window.c index bab5d76..0c6f556 100644 --- a/clients/window.c +++ b/clie

[PATCH weston v4] Implement text cursor position protocol.

2012-05-27 Thread Scott Moreau
Here we create a new client/compositor interface in weston to allow clients to report their x/y cursor position to the compositor. These values are then used to center the zoom area on this point. This is useful for everyone, especially people who are visually impaired. --- Made changes discussed

Re: [PATCH 2/3] Weston: compositor.c: Logging to $HOME/weston.log, stderr

2012-05-27 Thread Andreas Ericsson
On 05/26/2012 05:40 PM, Martin Minarik wrote: > Signed-off-by: Martin Minarik > --- > src/compositor.c | 10 +- > 1 files changed, 9 insertions(+), 1 deletions(-) > > diff --git a/src/compositor.c b/src/compositor.c > index 3c1e058..6582e21 100644 > --- a/src/compositor.c > +++ b/src/

[PATCH xserver v2] Always use WL_SHM_FORMAT_ARGB8888 for shm surfaces.

2012-05-27 Thread Scott Moreau
--- Remove unused variables. hw/xfree86/xwayland/xwayland.c | 21 + 1 files changed, 5 insertions(+), 16 deletions(-) diff --git a/hw/xfree86/xwayland/xwayland.c b/hw/xfree86/xwayland/xwayland.c index fea5210..e5037fd 100644 --- a/hw/xfree86/xwayland/xwayland.c +++ b/hw/xf

[PATCH xserver] Always use WL_SHM_FORMAT_ARGB8888 for shm surfaces.

2012-05-27 Thread Scott Moreau
--- hw/xfree86/xwayland/xwayland.c | 18 +- 1 files changed, 5 insertions(+), 13 deletions(-) diff --git a/hw/xfree86/xwayland/xwayland.c b/hw/xfree86/xwayland/xwayland.c index fea5210..af7706e 100644 --- a/hw/xfree86/xwayland/xwayland.c +++ b/hw/xfree86/xwayland/xwayland.c @@ -

Re: [PATCH] Weston: log.c, log.h: the files themselves

2012-05-27 Thread Pekka Paalanen
On Sat, 26 May 2012 20:44:40 +0200 Martin Minarik wrote: > --- > src/log.c | 85 > + > src/log.h | 36 ++ > 2 files changed, 121 insertions(+), 0 deletions(-) > create mode 100644 src/log.c > create mode 1

Re: [PATCH 1/2] Wayland logging functionality

2012-05-27 Thread Pekka Paalanen
On Sat, 26 May 2012 17:13:58 +0200 Martin Minarik wrote: > The core libwayland libraries should not handle logging, only > passing the error messages to subscribed functions. > An application linked to libwayland-server or libwayland-client > will be able to set own functions (one per library) to