aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-10 11:52:09 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-10 11:52:09 +0900
commita4584342e35332223e9fb16a346b2316a6507343 (patch)
tree62a0ba33d3cf8ad370cb4b15fc593863ec46cbc8 /src
parente12687576d5345eb26ea99b5355cd6974b40c7cc (diff)
Add commit_change after layer size changed
Change-Id: I93b931e2371939cda5a3977a1a4859658e302795 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src')
-rw-r--r--src/wm_layer_control.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wm_layer_control.cpp b/src/wm_layer_control.cpp
index e6c406b..13072a4 100644
--- a/src/wm_layer_control.cpp
+++ b/src/wm_layer_control.cpp
@@ -358,7 +358,9 @@ WMError LayerControl::layoutChange(const WMAction& action)
auto rect = this->getAreaSize(action.area);
HMI_DEBUG("Set layout %d, %d, %d, %d",rect.x, rect.y, rect.w, rect.h);
ilm_layerSetSourceRectangle(layer, 0, 0, rect.w, rect.h);
+ ilm_commitChanges();
ilm_layerSetDestinationRectangle(layer, rect.x, rect.y, rect.w, rect.h);
+ ilm_commitChanges();
for(auto &wm_layer: this->wm_layers)
{
if(wm_layer->hasLayerID(layer))