diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-06-27 08:55:18 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-08 17:24:00 +0200 |
commit | 88666c08dd76d09596aa9906f39d466c45d5979e (patch) | |
tree | 55a9766d7d7cbaa4d0f31c9a8438b6bd769ba9b8 /src/wayland.hpp | |
parent | 5a905147d566e62ceafd8f885143a49e2866947e (diff) |
wayland: simpler layout for controller::proxy_to_id maps
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/wayland.hpp')
-rw-r--r-- | src/wayland.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wayland.hpp b/src/wayland.hpp index 79dd7ae..60a045b 100644 --- a/src/wayland.hpp +++ b/src/wayland.hpp @@ -221,10 +221,11 @@ struct screen : public wayland_proxy<struct ivi_controller_screen>, // struct controller : public wayland_proxy<struct ivi_controller> { std::unordered_map<uintptr_t, uint32_t> surface_proxy_to_id; - std::unordered_map<uint32_t, std::unique_ptr<struct surface>> surfaces; std::unordered_map<uintptr_t, uint32_t> layer_proxy_to_id; - std::unordered_map<uint32_t, std::unique_ptr<struct layer>> layers; std::unordered_map<uintptr_t, uint32_t> screen_proxy_to_id; + + std::unordered_map<uint32_t, std::unique_ptr<struct surface>> surfaces; + std::unordered_map<uint32_t, std::unique_ptr<struct layer>> layers; std::unordered_map<uint32_t, std::unique_ptr<struct screen>> screens; typedef std::pair<char const *, std::function<void(struct controller *)>> |