summaryrefslogtreecommitdiffstats
path: root/src/wayland.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wayland.cpp')
-rw-r--r--src/wayland.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wayland.cpp b/src/wayland.cpp
index f274874..29c70a1 100644
--- a/src/wayland.cpp
+++ b/src/wayland.cpp
@@ -644,7 +644,8 @@ 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) {
- this->chooks->surface_removed(s->id); // XXX is this the right thing to do?
+ // XXX is this the right thing to do?
+ this->chooks->surface_removed(s->id);
add_task("remove surface", [s](struct controller *c) {
c->sprops.erase(s->id);
c->surfaces.erase(s->id);