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:
432f97a
)
wayland: remove surface immediately on surface_destroyed event
author
Marcus Fritzsch
<marcus_fritzsch@mentor.com>
Fri, 23 Jun 2017 12:47:00 +0000
(14:47 +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
e22f4a6
..
625dbb0
100644
(file)
--- a/
src/wayland.cpp
+++ b/
src/wayland.cpp
@@
-551,6
+551,7
@@
void controller::surface_stats(uint32_t id, uint32_t redraw_count,
void controller::surface_destroyed(uint32_t id) {
logdebug("genivi::surface %s @ %p", __func__, this->proxy);
+ this->surfaces.erase(id);
}
void controller::surface_content(uint32_t id, int32_t content_state) {