aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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))