aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-08-02 15:34:24 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-08-08 15:06:16 +0900
commit0caf87a20096309a04fb2be1862de31bd573e564 (patch)
treeac746c30df1fce1a4eb0dfd8dfafcb3c1b30cd29 /src
parent4fe7381b8fb96576291c60b6d4367137e0e90f54 (diff)
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 <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src')
-rw-r--r--src/window_manager.cpp2
1 files changed, 0 insertions, 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);