X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fmain.cpp;h=bd61a2956ccafc697e18d14a8e42686fbf8e8e69;hb=ff20597ecfbaf742581c1b244868d60435791fd1;hp=364e535cbd4214fa1652fe6d0b22ec2a0cc2ff63;hpb=b2dac46f817dcb12c180925a52dae5494ea584a3;p=staging%2Fwindowmanager.git diff --git a/src/main.cpp b/src/main.cpp index 364e535..bd61a29 100644 --- 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!