Go to file
Pekka Paalanen 6d174cff7a window: menu leak fixes
When a menu self-destructs, free also the widget and struct menu.

As menus are self-destructing, it does not make sense to store the
window pointer, since we cannot clear it automatically. Therefore,
rename window_create_menu() to window_show_menu() that does not return
the window pointer. It also calls window_schedule_redraw() internally.

Fixes Valgrind reported memory leaks.

The alternative would be to explicitly destroy the menu in application's
menu callback.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2012-01-19 16:42:05 +02:00
clients window: menu leak fixes 2012-01-19 16:42:05 +02:00
data Rename wayland-compositor to weston 2012-01-03 11:04:04 -05:00
protocol Fix distcheck 2012-01-03 11:04:09 -05:00
shared Use '-' to separate words in file names 2011-12-08 12:44:27 -05:00
src compositor: Flush surface damage to surface below on destroy 2012-01-18 21:41:37 -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 clients: Allow compiling with the cairo glesv2 backend 2012-01-18 14:50:58 -05:00
Makefile.am Fix distcheck 2012-01-03 11:04:09 -05:00
README Split into a demo repository that holds the demo compositor and clients 2011-02-14 22:13:33 -05:00
weston-desktop-shell.ini More weston rename fixes 2012-01-03 14:35:49 -05:00
weston-tablet-shell.ini More weston rename fixes 2012-01-03 14:35:49 -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: