Re: [RFC 1/2] server: add wl_guard and convert one user

2012-03-05 Thread Rob Bradford
On 2 March 2012 12:10, Pekka Paalanen wrote: > From: Pekka Paalanen > > In wayland and weston code bases we have roughly a dozen destroy > listeners whose only job is to set a pointer to NULL, if a wl_resource > object gets destroyed. > > Introduce struct wl_guard as a shorthand for replacing all

Re: [PATCH 0/3] Fix some makefile problems discovered by distcheck

2012-03-05 Thread Kristian Høgsberg
On Mon, Mar 5, 2012 at 10:40 AM, Gaetan Nadon wrote: > On 12-03-04 06:01 PM, Kristian Hoegsberg wrote: >> On Sat, Mar 03, 2012 at 05:32:56PM -0500, Gaetan Nadon wrote: >>> There is yet another one which I have not found the cause: >>> >>> It appears that libffi.so cannot found while running distch

Re: [PATCH 0/3] Fix some makefile problems discovered by distcheck

2012-03-05 Thread Gaetan Nadon
On 12-03-04 06:01 PM, Kristian Hoegsberg wrote: > On Sat, Mar 03, 2012 at 05:32:56PM -0500, Gaetan Nadon wrote: >> There is yet another one which I have not found the cause: >> >> It appears that libffi.so cannot found while running distcheck. >> On my system, it is located at: >> /usr/lib/x86_64-l

[PATCH] shell: don't assign output for surface of type none

2012-03-05 Thread Ander Conselvan de Oliveira
If map is called with a surface of type none it will call weston_surface_assign_output, even though the surface will not be mapped. This change was lost with the changes for using wl_layers. --- src/shell.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/shel

Thread affinity

2012-03-05 Thread Jørgen Lind
Hi, I had some time today update the patch to add thread affinity to wayland-clients wl_display. Jørgen >From eca8c247e18c66d691aa07fc16cbaa9ea1e5e843 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lind?= Date: Mon, 5 Mar 2012 12:44:37 +0100 Subject: [PATCH] Add thread affinity to waylan