From a4584342e35332223e9fb16a346b2316a6507343 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Mon, 10 Sep 2018 11:52:09 +0900 Subject: Add commit_change after layer size changed Change-Id: I93b931e2371939cda5a3977a1a4859658e302795 Signed-off-by: Kazumasa Mitsunari --- src/wm_layer_control.cpp | 2 ++ 1 file changed, 2 insertions(+) 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)) -- cgit 1.2.3-korg