clang-format, mostly indenting.
[staging/windowmanager.git] / src / wayland.cpp
index e12f155..ff08488 100644 (file)
@@ -425,11 +425,10 @@ void controller::layer_screen(struct layer * /*l*/, struct wl_output *screen) {
 
 void controller::layer_destroyed(struct layer *l) {
    logdebug("genivi::layer %s @ %p", __func__, this->proxy.get());
-   add_task("remove layer",
-            [l](struct controller *c) {
-                c->lprops.erase(l->id);
-                c->layers.erase(l->id);
-            });
+   add_task("remove layer", [l](struct controller *c) {
+      c->lprops.erase(l->id);
+      c->layers.erase(l->id);
+   });
 }
 
 //                  __
@@ -658,11 +657,10 @@ void controller::surface_content(struct surface *s, int32_t content_state) {
    logdebug("genivi::surface %s @ %p s %i", __func__, this->proxy.get(),
             content_state);
    if (content_state == IVI_CONTROLLER_SURFACE_CONTENT_STATE_CONTENT_REMOVED) {
-      add_task("remove surface",
-               [s](struct controller *c) {
-                   c->sprops.erase(s->id);
-                   c->surfaces.erase(s->id);
-               });
+      add_task("remove surface", [s](struct controller *c) {
+         c->sprops.erase(s->id);
+         c->surfaces.erase(s->id);
+      });
    }
 }