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
App: controller hooks impl
[staging/windowmanager.git]
/
src
/
layers.hpp
diff --git
a/src/layers.hpp
b/src/layers.hpp
index
ada7344
..
b20d356
100644
(file)
--- a/
src/layers.hpp
+++ b/
src/layers.hpp
@@
-114,6
+114,10
@@
struct layer_map {
this->surfaces[surface_id] = layer_id;
}
this->surfaces[surface_id] = layer_id;
}
+ void remove_surface(int surface_id) {
+ this->surfaces.erase(surface_id);
+ }
+
json to_json() const;
};
json to_json() const;
};