app: do not apply left id_shift to generated ID!
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>
Tue, 29 Aug 2017 13:06:18 +0000 (15:06 +0200)
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>
Mon, 4 Sep 2017 14:53:59 +0000 (16:53 +0200)
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
src/app.hpp

index 2995ca4..9df6199 100644 (file)
@@ -60,7 +60,6 @@ struct id_allocator {
    // Insert and return a new ID
    unsigned generate_id(std::string const &name) {
       unsigned sid = this->next++;
-      sid <<= id_shift;
       this->surfaces[sid] = name;
       // this->pending_surfaces.insert({sid});
       this->names[name] = sid;