X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fapp.cpp;h=72e8c233634b7e44e3a786504cf869017620fadc;hb=ec9af67cd42ff42c2e76ac12133bd53bba5da0b7;hp=f3c9234adfe6fd72d1119ed749f81033e8af0104;hpb=978b1e2dc1ccd40e08fd700bda75bedd15b609b8;p=staging%2Fwindowmanager.git diff --git a/src/app.cpp b/src/app.cpp index f3c9234..72e8c23 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -393,11 +393,6 @@ result App::request_surface(char const *drawing_name) { auto rname = this->id_alloc[drawing_name]; if (!rname) { // name does not exist yet, allocate surface id... - // XXX: how to allocate surface IDs? - // * allocate by running a counter for each layer? - // * allocate IDs globally, i.e. do not have layers contain - // ID ranges (only define the surfaces on the layer by - // role?) auto id = int(this->id_alloc(drawing_name)); this->layers.add_surface(id, lid.value());