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:
b2dac46
)
main/init_layout: use screen::set_render_order instead of add_layer calls
author
Marcus Fritzsch
<marcus_fritzsch@mentor.com>
Fri, 23 Jun 2017 13:05:14 +0000
(15:05 +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/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
364e535
..
bd61a29
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-96,8
+96,7
@@
void init_layout(struct conn &c) {
l1k->set_destination_rectangle(0, 0, o->width, o->height);
// Add layers to screen
- s->add_layer(l100.get());
- s->add_layer(l1k.get());
+ s->set_render_order({100, 1000});
c.c->commit_changes();
// Note: this does not flush the display!