Code Review
/
staging
/
windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
wayland: remove surface immediately on surface_destroyed event
[staging/windowmanager.git]
/
src
/
wayland.cpp
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) {