diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-07-13 10:23:55 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-08 17:24:00 +0200 |
commit | b166f3512f5e426e60a4ff610a9f07239ac18ea1 (patch) | |
tree | 9b774db75f88f9652c185ee6f5942cfa72370933 /src/wayland.cpp | |
parent | e04b072b79044ca1220499f6d39532c6c98f81db (diff) |
clang-format, mostly indenting.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/wayland.cpp')
-rw-r--r-- | src/wayland.cpp | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/wayland.cpp b/src/wayland.cpp index e12f155..ff08488 100644 --- a/src/wayland.cpp +++ b/src/wayland.cpp @@ -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); + }); } } |