From 0caf87a20096309a04fb2be1862de31bd573e564 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Thu, 2 Aug 2018 15:34:24 +0900 Subject: [PATCH] Fix source rectangle changes every state change Window Manager changes source rectangle size every state change. This patch changes it to set source rectangle first when the surface is created. Related commit: https://gerrit.automotivelinux.org/gerrit/#/c/15595/ Bug-AGL: SPEC-1584 Change-Id: Ia7429956053cfa18e6e82060f84f3b6fe755c0b1 Signed-off-by: Kazumasa Mitsunari --- src/window_manager.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/window_manager.cpp b/src/window_manager.cpp index beb8eac..4a155c9 100644 --- a/src/window_manager.cpp +++ b/src/window_manager.cpp @@ -684,8 +684,6 @@ void WindowManager::send_event(char const *evname, char const *label, char const */ void WindowManager::surface_created(uint32_t surface_id) { - // For set role function - HMI_DEBUG("wm", "Get surface's owner"); this->controller->get_surface_properties(surface_id, IVI_WM_PARAM_SIZE); auto layer_id = this->layers.get_layer_id(surface_id); -- 2.16.6