summaryrefslogtreecommitdiffstats
path: root/src/wayland.cpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-06-23 12:40:55 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commitd34b46aae11efe3f5060067d1f2ee3ed3eac2b7e (patch)
tree6f1613f2344e36f1ee56ca165c8762e6454f3820 /src/wayland.cpp
parentfd6299c49a6706adf7fbbfc6c25041e23fbfa72c (diff)
wayland: initalize all controll members
* Also; added output_size - for now. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/wayland.cpp')
-rw-r--r--src/wayland.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wayland.cpp b/src/wayland.cpp
index 52b2371..a512979 100644
--- a/src/wayland.cpp
+++ b/src/wayland.cpp
@@ -194,7 +194,12 @@ constexpr struct ivi_controller_listener listener = {
controller::controller(struct wl_registry *r, uint32_t name, uint32_t version)
: wayland_proxy(
- wl_registry_bind(r, name, &ivi_controller_interface, version)) {
+ wl_registry_bind(r, name, &ivi_controller_interface, version))
+ , surfaces{}
+ , layers{}
+ , screens{}
+ , pending{}
+ , output_size{} {
ivi_controller_add_listener(this->proxy, &listener, this);
}