about weston

2012-04-01 Thread Alberich de megres
Hi Guys, I was trying to understand how weston rpc works, and more specifically how it asks for painting. Checking the source i saw more or less this call stack for sending a window_sync: wl_display_sync |->wl_proxy_marshal |->wl_closure_send |->wl_connection_write on the server side,

[PATCH 3/3] shell: set black surface alpha properly in switcher_next()

2012-04-01 Thread zhiwen . wu
From: Alex Wu Make the black surfaces semitransparent when switching surface, and if associated fullscreen surface is chosen, make black surface opaque. --- src/shell.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/shell.c b/src/shell.c index a4cf0b4..feb38

[PATCH 2/3] shell: Add fullscreen path into activate()

2012-04-01 Thread zhiwen . wu
From: Alex Wu Use shell_stack_fullscreen() to raise fullscreen surface in activate(), and before activate() a regular surface, move all the fullscreen surfaces from fullscreen_layer to toplevel_layer. Also add a void *private into struct wesont_surface since we already have a configure() vfunc.

[PATCH 1/3] wayland-utils: add wl_list_for_each_reverse_safe macro.

2012-04-01 Thread zhiwen . wu
From: Alex Wu Add the safe version for wl_list_for_each_reverse --- src/wayland-util.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/wayland-util.h b/src/wayland-util.h index d9e13e6..642a04b 100644 --- a/src/wayland-util.h +++ b/src/wayland-util.h @@ -140,6

[PATCH 0/3] fullscreen support for activate and switcher_next

2012-04-01 Thread zhiwen . wu
The patch set add fullscreen support into activate() and switcher_next(). According to krh's comments, use configre vfunc pointer to check black surface. This patch set consists wayland part and weston part. For wayland part: The following changes since commit 3cddb3c692acd3536a7cc8542a29f0cc3c0ac