diff options
-rw-r--r-- | src/wayland.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wayland.cpp b/src/wayland.cpp index 4f2b026..1d53c26 100644 --- a/src/wayland.cpp +++ b/src/wayland.cpp @@ -387,6 +387,8 @@ void controller::layer_screen(uint32_t id, struct wl_output *screen) { void controller::layer_destroyed(uint32_t id) { logdebug("genivi::layer %s @ %p", __func__, this->proxy); + add_task("remove layer", + [id](struct controller *c) { c->layers.erase(id); }); } // __ |