aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm_layer_control.cpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-11 13:56:24 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-11 13:56:24 +0900
commit92cbe39df7b53208e15bea19e523570be915cf1e (patch)
tree4d0bf8313ec61ef4d46c4d56604c09908a390366 /src/wm_layer_control.cpp
parentd5a353563462d3eebd5e138a0ed4f850ea8cd809 (diff)
Add terminate process for layer_control
Change-Id: I583bfa1da8fa88e15b13417de15d7d2b9e79f7f2 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/wm_layer_control.cpp')
-rw-r--r--src/wm_layer_control.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wm_layer_control.cpp b/src/wm_layer_control.cpp
index 9756d5e..30c37f9 100644
--- a/src/wm_layer_control.cpp
+++ b/src/wm_layer_control.cpp
@@ -428,6 +428,14 @@ WMError LayerControl::visibilityChange(const WMAction& action)
return ret;
}
+void LayerControl::terminateApp(const shared_ptr<WMClient> client)
+{
+ for(auto& l : this->wm_layers)
+ {
+ l->terminateApp(client->layerID());
+ }
+}
+
void LayerControl::dispatchCreateEvent(ilmObjectType object, unsigned id, bool created)
{
if (ILM_SURFACE == object)