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:
2f34481
)
App: remove id_shift and id_mask constants
author
Marcus Fritzsch
<marcus_fritzsch@mentor.com>
Wed, 13 Sep 2017 14:47:19 +0000
(16:47 +0200)
committer
Marcus Fritzsch
<marcus_fritzsch@mentor.com>
Thu, 14 Sep 2017 12:04:51 +0000
(14:04 +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
bc273f5
..
aac28cd
100644
(file)
--- a/
src/app.hpp
+++ b/
src/app.hpp
@@
-47,9
+47,6
@@
namespace wm {
using std::experimental::optional;
struct id_allocator {
- constexpr static const unsigned id_shift = 22;
- constexpr static const unsigned id_mask = (1 << id_shift) - 1;
-
unsigned next = 1;
// Surfaces that where requested but not yet created