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
2012-01-19 16:42:05 +02:00
2012-01-03 11:04:04 -05:00
2012-01-03 11:04:09 -05:00
2010-11-11 20:11:27 -05:00
2010-11-06 21:04:03 -04:00
2012-01-03 11:04:09 -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:
S
Description
No description provided
Readme 14 MiB
Languages
C 98%
Meson 1.4%
Shell 0.3%
GLSL 0.2%