compositor: allow using nested parent as a subsurface sibling
authorArnaud Vrac <avrac@freebox.fr>
Wed, 8 Jun 2016 16:37:57 +0000 (18:37 +0200)
committerDaniel Stone <daniels@collabora.com>
Tue, 22 Nov 2016 12:39:11 +0000 (12:39 +0000)
commitb8c16c995b02ca797a5ea7625756e6debe91220b
tree92ef7b695752910acc9347f4e5dd4884199dad5a
parent11f8fcbefeb89336dba6ec4ea68d100212bd26e4
compositor: allow using nested parent as a subsurface sibling

The parent of a subsurface can be used as a sibling in the place_below
and place_above calls. However this did not work when the parent is
nested, so fix the sibling check and add a test to check this case.

Signed-off-by: Daniel Stone <daniels@collabora.com>
libweston/compositor.c
tests/subsurface-test.c