Go to file
Pekka Paalanen 0135abee89 compositor: avoid scheduling rendering on shutdown
After the compositor exits the main loop in wl_display_run(), set the
compositor state to SLEEPING. This prevents scheduling repaints, that
will never be executed.

A repaint is scheduled by calling wl_event_loop_add_idle(), which
creates an idle event source. Normally the idle event source object is
destroyed after it has been executed. However, in the shutdown case we
never dispatch events again, and the object is leaked.

This leak is triggered by shell.c destructor, which destroys the
desktop-shell client. Destroying a client ends up calling
wlsc_compositor_schedule_repaint() while destroying the client
resources, especially surfaces.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2012-01-03 10:48:54 +02:00
clients terminal: Don't close fd twice 2011-12-28 22:04:27 -05:00
compositor compositor: avoid scheduling rendering on shutdown 2012-01-03 10:48:54 +02:00
data Fix out of source build [wayland.png] 2011-01-30 20:56:01 -05:00
protocol protocol: add screensaver interface 2011-12-14 11:17:00 +02:00
shared Use '-' to separate words in file names 2011-12-08 12:44:27 -05: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 x11: Bridge X11 CLIPBOARD selection to Wayland clients 2011-12-27 13:50:04 -05:00
Makefile.am move config parser to a convenience library 2011-12-08 10:25:12 +02:00
README Split into a demo repository that holds the demo compositor and clients 2011-02-14 22:13:33 -05:00
wayland-desktop-shell.ini compositor: let shell override idle time 2011-12-14 13:50:35 +02:00
wayland-tablet-shell.ini tablet-shell: Add more interesting lock and home screens 2011-11-26 23:38:46 -05: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: