Code Review
/
staging
/
windowmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
00b3719
)
app: do not apply left id_shift to generated ID!
author
Marcus Fritzsch
<marcus_fritzsch@mentor.com>
Tue, 29 Aug 2017 13:06:18 +0000
(15:06 +0200)
committer
Marcus 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
patch
|
blob
|
history
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;