xdg-shell: Require proper object tree destruction
authorJonas Ådahl <jadahl@gmail.com>
Wed, 18 Mar 2015 08:20:51 +0000 (16:20 +0800)
committerJonas Ådahl <jadahl@gmail.com>
Tue, 5 May 2015 06:17:01 +0000 (14:17 +0800)
commit49d77d20ae17e1ee8ca462997b3f73a58eceb57f
treecc9c8d265e18de934d9b44413e8bd8fd97ee01e5
parent29612053e5e3924a225a5f7f51fd5a69276f39da
xdg-shell: Require proper object tree destruction

Require all child objects to be destroyed before the parent. In other
words, all popups and surfaces created by one xdg_shell instance needs
to be destroyed before the xdg_shell object, otherwise a protocol error
is raised.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
desktop-shell/shell.c
protocol/xdg-shell.xml