From 844ab2cec795023439bd5f865a238c7841755af4 Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Tue, 29 Aug 2017 15:06:18 +0200 Subject: [PATCH] app: do not apply left id_shift to generated ID! Signed-off-by: Marcus Fritzsch --- src/app.hpp | 1 - 1 file changed, 1 deletion(-) 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; -- 2.16.6