[PATCH 0/2] Add nested/session-compositor backend

Benjamin Franzke benjaminfranzke at googlemail.com
Sat Nov 27 10:04:10 PST 2010


This patches add support for a nested compositor as client
of X11,DRM-compositor or of course itself.

sample textcase:
	compositor/compositor -b /path/to/your/bg --socket wayland2 &
	# for testing a smaller compositor is fine
	WAYLAND_DISPLAY="wayland2" compositor/compositor -g 800x600 &
	clients/flower &
	clients/terminal &

The support for $WAYLAND_DISPLAY still needs to be added to the clients.

Patches:
	[PATCH 1/2] wl/wayland_client: rename wl_display_create to wl_display_connect
	[PATCH 2/2] Add wayland backend for compositor (nested)

 clients/screenshot.c            |    2 +-
 clients/window.c                |    2 +-
 compositor/Makefile.am          |    2 +
 compositor/compositor-wayland.c |  569 +++++++++++++++++++++++++++++++++++++++
 compositor/compositor.c         |   24 ++-
 compositor/compositor.h         |    3 +
 wayland/wayland-client.c        |    2 +-
 wayland/wayland-client.h        |    2 +-
 8 files changed, 596 insertions(+), 10 deletions(-)


More information about the wayland-devel mailing list