diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-18 15:44:19 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-09-04 16:53:58 +0200 |
commit | ec9af67cd42ff42c2e76ac12133bd53bba5da0b7 (patch) | |
tree | fcc4ef68a22c85a6bcd8e8a665c6a49acbee9f37 /src/app.cpp | |
parent | 978b1e2dc1ccd40e08fd700bda75bedd15b609b8 (diff) |
add role to layer::to_json()
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/app.cpp')
-rw-r--r-- | src/app.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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<int> 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()); |