From: Marcus Fritzsch Date: Wed, 2 Aug 2017 14:25:02 +0000 (+0200) Subject: app: comment on surface visiblity and layout setup X-Git-Tag: 4.99.1~179 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=staging%2Fwindowmanager.git;a=commitdiff_plain;h=fe0c22a9cb528e55ad8d633f8d286116e016fe3c app: comment on surface visiblity and layout setup Signed-off-by: Marcus Fritzsch --- diff --git a/src/app.cpp b/src/app.cpp index 685f572..6a7f5b4 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -312,6 +312,8 @@ void App::surface_set_layout(uint32_t surface_id) { // 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());