Go to file
Neil Roberts 97b747cdda westoy: Add an option to explicitly disable cairo on a widget
The subsurfaces example creates a subsurface widget and uses EGL to
render to it directly rather than using the cairo context from the
widget. In theory this shouldn't cause any problems because the westoy
window code lazily creates the cairo surface when an application
creates a cairo context. However commit fdca95c7 changed the behaviour
to force the lazy creation at the beginning of each surface redraw.
This ends up making the triangle surface get two attaches – one from
Cairo and one from the direct EGL.

It looks like it would be difficult to reinstate the lazy surface
creation behaviour whilst still maintaining the error handling for
surface creation because none of the redraw handlers in the example
clients are designed to cope with that. Instead, this patch adds an
explicit option on a widget to disable creating the Cairo surface and
the subsurface example now uses that.

Closes: https://bugs.freedesktop.org/show_bug.cgi?id=72854
2014-01-09 15:03:15 -08:00
clients westoy: Add an option to explicitly disable cairo on a widget 2014-01-09 15:03:15 -08:00
data window.c: frame_button: Maximize, minimize, close, icon buttons in window frame 2012-05-10 16:19:33 -04:00
desktop-shell shell: run surface bindings only when focus surface is not NULL 2014-01-08 22:17:40 -08:00
man Make the default desktop shell client configurable 2013-12-02 15:44:49 -08:00
protocol protocol: rename wl_surface_scaler to wl_viewport 2014-01-08 21:33:19 -08:00
shared os: use posix_fallocate in creating sharable buffers 2013-12-02 16:20:27 -08:00
src input: Ignore touch up events if num_tp is 0 2014-01-08 22:29:25 -08:00
tests tests: fix build on rpi with EGL 2014-01-08 21:30:20 -08:00
wcap Add more missing config.h #includes 2013-08-26 14:59:14 -07:00
xwayland xwm: Handle WM_TRANSIENT_FOR 2014-01-02 22:55:04 -08:00
.gitignore Automatically generate weston.ini with the right paths 2013-11-27 22:49:31 -08:00
autogen.sh Update autotools configuration 2010-11-06 21:04:03 -04:00
configure.ac build: fix commit that changed option for installing client 2014-01-02 15:46:33 -08:00
COPYING Add COPYING 2012-04-25 10:17:42 -04:00
Makefile.am Makefile.am: Clean generated weston.ini on make clean 2013-12-16 23:12:46 -08:00
notes.txt Add informal notes file 2012-10-25 15:00:42 -04:00
README Flesh out README a bit, link to building instructions 2012-07-20 12:26:23 -04:00
wayland-scanner.mk autotools: Don't use wayland-scanner.m4 2013-08-20 11:15:19 -07:00
weston.ini.in Automatically generate weston.ini with the right paths 2013-11-27 22:49:31 -08:00

Weston

Weston is the reference implementation of a Wayland compositor, and a
useful compositor in its own right.  Weston has various backends that
lets it run on Linux kernel modesetting and evdev input as well as
under X11.  Weston ships with a few example clients, from simple
clients that demonstrate certain aspects of the protocol to more
complete clients and a simplistic toolkit.  There is also a quite
capable terminal emulator (weston-terminal) and an toy/example desktop
shell.  Finally, weston also provides integration with the Xorg server
and can pull X clients into the Wayland desktop and act as a X window
manager.

Refer to http://wayland.freedesktop.org/building.html for buiding
weston and its dependencies.