Re: [PATCH weston 2/2] window: Don't free shm buffers while the compositor is using them

2012-06-19 Thread Kristian Høgsberg
On Tue, Jun 19, 2012 at 12:04:12PM -0400, Kristian Høgsberg wrote: > On Tue, Jun 19, 2012 at 01:45:56PM +0300, Ander Conselvan de Oliveira wrote: > > After commit 460a79bd, the compositor will only upload the contents of > > an shm buffer to a texture during repaint, but at the point the buffer > >

[PATCH v2] desktop-shell: configurable clock

2012-06-19 Thread Martin Minarik
Add weston.ini section to allow customizing the format of the displayed time. The redraw interval is based on whether the required format contains a second entries (%S %s %T). In case no settings are found, fall back to default values. --- clients/desktop-shell.c | 52 ++

[PATCH] compositor: Verify XDG_RUNTIME_DIR variable

2012-06-19 Thread Martin Minarik
Print an user friendly error mesage when the variable is not a valid directory. --- src/compositor.c | 34 +- 1 files changed, 29 insertions(+), 5 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index d40a878..f5940aa 100644 --- a/src/compositor.c +

[PATCH] Use pangocairo in theme_render_frame() title.

2012-06-19 Thread Martin Minarik
This provides support for international text in window titles. --- configure.ac|5 +++-- shared/cairo-util.c | 37 ++--- 2 files changed, 25 insertions(+), 17 deletions(-) diff --git a/configure.ac b/configure.ac index ce97486..3198d16 100644 --- a/co

Re: [PATCH weston 2/2] window: Don't free shm buffers while the compositor is using them

2012-06-19 Thread Kristian Høgsberg
On Tue, Jun 19, 2012 at 01:45:56PM +0300, Ander Conselvan de Oliveira wrote: > After commit 460a79bd, the compositor will only upload the contents of > an shm buffer to a texture during repaint, but at the point the buffer > might have been destroyed already. In that case, the surface simply > isn'

[PATCH weston 1/2] window: Plug leak of shm_surface_data on shm_suface_data_destroy()

2012-06-19 Thread Ander Conselvan de Oliveira
This was causing a leak on every frame when using shm buffers. --- clients/window.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/clients/window.c b/clients/window.c index 36caeb3..aaf2009 100644 --- a/clients/window.c +++ b/clients/window.c @@ -422,6 +422,8 @@ shm_surf

[PATCH wayland] wayland-cursor: Plug leak of filename on load_all_cursors_from_dir()

2012-06-19 Thread Ander Conselvan de Oliveira
--- cursor/xcursor.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/cursor/xcursor.c b/cursor/xcursor.c index 360f7f3..0fe0440 100644 --- a/cursor/xcursor.c +++ b/cursor/xcursor.c @@ -883,8 +883,10 @@ load_all_cursors_from_dir(const char *path, int size,

[PATCH weston 2/2] window: Don't free shm buffers while the compositor is using them

2012-06-19 Thread Ander Conselvan de Oliveira
After commit 460a79bd, the compositor will only upload the contents of an shm buffer to a texture during repaint, but at the point the buffer might have been destroyed already. In that case, the surface simply isn't drawn. The compositor sends a release event when it's done using a buffer, so this

Re: [PATCH wayland 1/2] protocol: replace pointer.attach with pointer.set_cursor

2012-06-19 Thread Pekka Paalanen
On Mon, 18 Jun 2012 16:02:34 +0300 Ander Conselvan de Oliveira wrote: > On 06/18/2012 12:06 PM, Pekka Paalanen wrote: > > On Fri, 15 Jun 2012 17:27:32 +0300 > > Ander Conselvan de Oliveira > > wrote: > > > >> --- > >> protocol/wayland.xml | 27 +-- > >> 1 files change