Fix source rectangle changes every state change
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Thu, 2 Aug 2018 06:34:24 +0000 (15:34 +0900)
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Wed, 8 Aug 2018 06:06:16 +0000 (15:06 +0900)
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>
src/window_manager.cpp

index beb8eac..4a155c9 100644 (file)
@@ -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);