X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=staging%2Fwindowmanager.git;a=blobdiff_plain;f=src%2Fapp.hpp;h=aac28cd35736d57749ce10f4170cb2bc759b28ec;hp=bc273f565410e86af272741f5149c95f6390815b;hb=2f2408428a9ed9205fdb92cc2cb786949042f256;hpb=2f34481142341c8f24e78fe6cf94ba9c1abec54b diff --git a/src/app.hpp b/src/app.hpp index bc273f5..aac28cd 100644 --- 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