summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-29 15:06:18 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-04 16:53:59 +0200
commit844ab2cec795023439bd5f865a238c7841755af4 (patch)
tree7445a54730367f3d4a9c7971be574a2d2418906a /src
parent00b37194da1eb8c39710cf9545f00d5f52b40791 (diff)
app: do not apply left id_shift to generated ID!
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src')
-rw-r--r--src/app.hpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/app.hpp b/src/app.hpp
index 2995ca4..9df6199 100644
--- a/src/app.hpp
+++ b/src/app.hpp
@@ -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;