Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
// set destination to the display rectangle
s->set_destination_rectangle(x, y, w, h);
// set destination to the display rectangle
s->set_destination_rectangle(x, y, w, h);
+ // XXX: visibility should be determined independently of our
+ // layer + geometry setup.
s->set_visibility(1);
this->controller->layers[layer_id]->add_surface(s.get());
s->set_visibility(1);
this->controller->layers[layer_id]->add_surface(s.get());