wayland: simpler layout for controller::proxy_to_id maps
[staging/windowmanager.git] / src / wayland.cpp
index 4678661..af28edf 100644 (file)
@@ -205,10 +205,10 @@ controller::controller(struct wl_registry *r, uint32_t name, uint32_t version)
    : 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{} {
@@ -721,6 +721,7 @@ void controller::execute_pending() {
       // XXX: No flush here...
    }
 }
+
 //
 //  ___  ___ _ __ ___  ___ _ __
 // / __|/ __| '__/ _ \/ _ \ '_ \