Code Review
/
staging
/
windowmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
24d12f3
)
wayland: remove layer on controller::layer_destroyed
author
Marcus Fritzsch
<marcus_fritzsch@mentor.com>
Mon, 26 Jun 2017 14:39:05 +0000
(16:39 +0200)
committer
Marcus Fritzsch
<marcus_fritzsch@mentor.com>
Tue, 8 Aug 2017 15:24:00 +0000
(17:24 +0200)
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
src/wayland.cpp
patch
|
blob
|
history
diff --git
a/src/wayland.cpp
b/src/wayland.cpp
index
4f2b026
..
1d53c26
100644
(file)
--- 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); });
}
// __