Code Review
/
staging
/
windowmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
93c2a36
)
app: comment on surface visiblity and layout setup
author
Marcus Fritzsch
<marcus_fritzsch@mentor.com>
Wed, 2 Aug 2017 14:25:02 +0000
(16:25 +0200)
committer
Marcus Fritzsch
<marcus_fritzsch@mentor.com>
Tue, 8 Aug 2017 15:24:00 +0000
(17:24 +0200)
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
src/app.cpp
patch
|
blob
|
history
diff --git
a/src/app.cpp
b/src/app.cpp
index
685f572
..
6a7f5b4
100644
(file)
--- 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());