Code Review
/
staging
/
windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
app: do not apply left id_shift to generated ID!
[staging/windowmanager.git]
/
src
/
app.hpp
diff --git
a/src/app.hpp
b/src/app.hpp
index
2995ca4
..
9df6199
100644
(file)
--- 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;