aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-02 16:25:02 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commitfe0c22a9cb528e55ad8d633f8d286116e016fe3c (patch)
tree8791a8671780ac9de9fa0004adb138f35291e968
parent93c2a361b2144d82ec70208225c45afd8f355bd3 (diff)
app: comment on surface visiblity and layout setup
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
-rw-r--r--src/app.cpp2
1 files changed, 2 insertions, 0 deletions
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());