aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm_layer_control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wm_layer_control.cpp')
-rw-r--r--src/wm_layer_control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wm_layer_control.cpp b/src/wm_layer_control.cpp
index 813e4ab..e6c406b 100644
--- a/src/wm_layer_control.cpp
+++ b/src/wm_layer_control.cpp
@@ -357,7 +357,7 @@ WMError LayerControl::layoutChange(const WMAction& action)
// WMError ret = this->setLayerSize(layer, action.area);
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, rect.x, rect.y, rect.w, rect.h);
+ ilm_layerSetSourceRectangle(layer, 0, 0, rect.w, rect.h);
ilm_layerSetDestinationRectangle(layer, rect.x, rect.y, rect.w, rect.h);
for(auto &wm_layer: this->wm_layers)
{