aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm_layer_control.cpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-10 18:09:49 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-10 18:09:49 +0900
commitdd6bcaad18c8e61321b2881f08c3fd17f483a466 (patch)
treee0803cd714baa39e636566157eaae341c45bcd76 /src/wm_layer_control.cpp
parentb25a8704f455fc6acb0b626da3dad35720c52d72 (diff)
Update wm_layer: Set Area to state
Change-Id: I039ac972ff2a10300938e50aae0ed57ea8606902 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.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wm_layer_control.cpp b/src/wm_layer_control.cpp
index b4e53c8..4cfedd9 100644
--- a/src/wm_layer_control.cpp
+++ b/src/wm_layer_control.cpp
@@ -387,8 +387,11 @@ WMError LayerControl::layoutChange(const WMAction& action)
{
if(wm_layer->hasLayerID(layer))
{
+ wm_layer->setAreaToState(action.client->appID(), action.area);
+ /* TODO: manipulate state directly
LayerState ls = wm_layer->getLayerState();
ls.setArea(action.client->appID(), action.area);
+ wm_layer->dump(); */
}
}