X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Flayers.hpp;h=ee3205443c72b393c7ad0719f88f99125bd13d61;hb=e2a149b190298bc60e9f952f119d52a1b3ddc9d6;hp=0601614948cfbadf9c5056a147281cb482945f03;hpb=2c9977101d257edd62b2fb2fa7fabb541efc6698;p=staging%2Fwindowmanager.git diff --git a/src/layers.hpp b/src/layers.hpp index 0601614..ee32054 100644 --- a/src/layers.hpp +++ b/src/layers.hpp @@ -71,9 +71,9 @@ struct layer_map { using json = nlohmann::json; using storage_type = std::set; - using layers_type = std::vector; + using layers_type = std::vector; using role_to_layer_map = std::vector>; - using addsurf_layer_map = std::map; + using addsurf_layer_map = std::map; // XXX: we also will need a layer_id to layer map, perhaps // make this the primary map, and the surface_id->layer a @@ -100,7 +100,7 @@ struct layer_map { return this->layers.size(); } - void add_surface(unsigned surface_id, unsigned layer_id) { + void add_surface(int surface_id, int layer_id) { this->surfaces[surface_id] = layer_id; }