nested: Disable cairo on the subsurfaces
authorNeil Roberts <neil@linux.intel.com>
Mon, 24 Feb 2014 19:07:08 +0000 (19:07 +0000)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 7 Apr 2014 06:00:37 +0000 (23:00 -0700)
commit40d02288cbf41a9fb3b53a71455847db259030a1
treeb98ea19f58804108ee60a30d41684afb5ba57870
parentb1fff418a3f1562f784f6dde9d33b1f900a81cff
nested: Disable cairo on the subsurfaces

The subsurface widgets on the nested example aren't using Cairo to
render so we should turn it off to prevent the toy toolkit from
creating a redundant extra surface for it. This is particularly
important since Mesa commit 6c9d6898fdfd7e2 because the surface that
the toolkit tries to create is zero-sized and that patch prevents that
from working. This was causing weston-nested to crash.
clients/nested.c