From 00b37194da1eb8c39710cf9545f00d5f52b40791 Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Tue, 29 Aug 2017 15:01:08 +0200 Subject: app: use id_shift of 22, just like in Qt Signed-off-by: Marcus Fritzsch --- src/app.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/app.hpp') diff --git a/src/app.hpp b/src/app.hpp index da614a0..2995ca4 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -42,8 +42,8 @@ struct controller; namespace wm { struct id_allocator { - constexpr static unsigned id_shift = 20; - constexpr static unsigned id_mask = (1 << id_shift) - 1; + constexpr static const unsigned id_shift = 22; + constexpr static const unsigned id_mask = (1 << id_shift) - 1; unsigned next = 1; -- cgit 1.2.3-korg