[PATCH weston] hmi-controller: fix wrong width and height are set to a layer of workspace.

Nobuhiko Tanibata nobuhiko_tanibata at xddp.denso.co.jp
Sun Aug 23 17:12:37 PDT 2015


From: Nobuhiko Tanibata <NOBUHIKO_TANIBATA at xddp.denso.co.jp>

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA at xddp.denso.co.jp>
Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
---
 ivi-shell/hmi-controller.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ivi-shell/hmi-controller.c b/ivi-shell/hmi-controller.c
index 19ceef2..c388164 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();
 }
 
-- 
1.8.3.1



More information about the wayland-devel mailing list