commit | 86c8ca03b5ab2bf6ed985f68ff064b9101fee58e | [log] [tgz] |
---|---|---|
author | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | Fri May 17 16:46:07 2013 +0300 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Fri May 17 16:22:18 2013 -0400 |
tree | a5a686d113ee26dd3f5e30be914727970b686ea5 | |
parent | 5e9bedb8c4327a2b304837cbc5433256b3207175 [diff] |
compositor: forbid sub-surface nesting loops The only way to create a sub-surface loop by recursive nesting is to make the main surface (which does not have a role) a sub-surface of any of its sub-surfaces. All other cases should already be cought. This change checks for that exact case, and sends a protocol error. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>