: wayland_proxy(
wl_registry_bind(r, name, &ivi_controller_interface, version)),
surface_proxy_to_id{},
- surfaces{},
layer_proxy_to_id{},
- layers{},
screen_proxy_to_id{},
+ surfaces{},
+ layers{},
screens{},
pending{},
output_size{} {
// XXX: No flush here...
}
}
+
//
// ___ ___ _ __ ___ ___ _ __
// / __|/ __| '__/ _ \/ _ \ '_ \
//
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 *)>>