summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>2015-08-24 09:12:37 +0900
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2015-08-26 11:13:29 +0300
commit4412cd1974adf65359d127af12cc815d79469f34 (patch)
tree5683f5649beb80827eb9f8159b3d4f2e6011d097
parentd290f881d5004af1758ceda146b911fcd1637e2d (diff)
hmi-controller: fix wrong width and height are set to a layer of workspace.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
-rw-r--r--ivi-shell/hmi-controller.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ivi-shell/hmi-controller.c b/ivi-shell/hmi-controller.c
index 19ceef24..c3881647 100644
--- a/ivi-shell/hmi-controller.c
+++ b/ivi-shell/hmi-controller.c
@@ -1287,8 +1287,8 @@ move_workspace_grab_end(struct move_grab *move, struct wl_resource* resource,
duration);
ivi_controller_interface->layer_set_destination_rectangle(layer,
end_pos, pos_y,
- hmi_ctrl->workspace_background_layer.width,
- hmi_ctrl->workspace_background_layer.height);
+ hmi_ctrl->workspace_layer.width,
+ hmi_ctrl->workspace_layer.height);
ivi_controller_interface->commit_changes();
}