Find a file
Ander Conselvan de Oliveira e11683aab2 compositor: refactor surface_attach()
surface_attach() does two things: sets up a new buffer as the contents
of the given surface and then calls into shell so it can setup the
position of the surface and map it if necessary. However we do not want
the shell to meddle with some internal surfaces such as drag surfaces.

The intention of this refactoring is to make room for making the part
that calls into shell a virtual function that the compositor can
override for these internal surfaces.

This changes weston_buffer_attach() so it handle all the logic of tying
a buffer to a surface, including unmapping it when the buffer is NULL.
The shell map() vs. configure() logic is then split into a another
function: surface_configure(). In a later commit, this function will be
turned into a function pointer in struct weston_surface.
2012-03-27 16:36:53 -04:00
clients Simplify shm buffer handling 2012-03-26 19:27:35 -04:00
data compositor-wayland: Add window border 2012-02-07 11:02:59 -05:00
protocol Fix distcheck 2012-01-03 11:04:09 -05:00
shared Consolidate image loading code and move to shared/ 2012-03-12 01:40:59 -04:00
src compositor: refactor surface_attach() 2012-03-27 16:36:53 -04:00
tests tests: add backlight test 2012-03-20 22:43:54 -04:00
.gitignore Clean up .gitignore files 2010-11-11 20:11:27 -05:00
autogen.sh Update autotools configuration 2010-11-06 21:04:03 -04:00
configure.ac evdev: use mtdev for multitouch devices 2012-03-20 22:43:56 -04:00
Makefile.am Disable setuid install for distcheck 2012-02-09 09:20:44 -05:00
README Split into a demo repository that holds the demo compositor and clients 2011-02-14 22:13:33 -05:00
weston.ini config-parser: consolidate shell files into weston.ini only 2012-03-25 08:49:30 -04:00

Wayland Demos

This repository contains a few demos application for the Wayland
project.  There's a sample compositor that can run on KMS, under X11
or under another Wayland compositor and there's a handful of simple
clients that demonstrate various aspects of Wayland: