app: do not apply left id_shift to generated ID!
[staging/windowmanager.git] / 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;