diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-07-30 20:46:36 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-07-30 20:46:36 +0900 |
commit | 9302f3a5e63cbc83f019cbeff13cc1279d9cfeae (patch) | |
tree | e37dfd1219ae59ec4bdec41a7989e324a3f46955 /src/window_manager.cpp | |
parent | 50c81e80a48329b06775580b9bbda7ebb247d16b (diff) |
Fix the XDG app is not rendered
Change-Id: I153afa33b69305a1ef19ac25f8ff23023af56e2b
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/window_manager.cpp')
-rw-r--r-- | src/window_manager.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/window_manager.cpp b/src/window_manager.cpp index 818a3ac..bba7531 100644 --- a/src/window_manager.cpp +++ b/src/window_manager.cpp @@ -685,8 +685,8 @@ 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 pid"); - this->controller->get_surface_properties(surface_id); + 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); if (!layer_id) @@ -873,8 +873,6 @@ void WindowManager::surface_set_layout(int surface_id, const std::string& area) layer_id); // set destination to the display rectangle - s->set_source_rectangle(0, 0, w, h); - this->layout_commit(); s->set_destination_rectangle(x, y, w, h); // update area information @@ -1423,6 +1421,7 @@ WMError WindowManager::doEndDraw(unsigned req_num) HMI_SEQ_DEBUG(req_num, "visible %s", act.role.c_str()); //this->lm_enddraw(act.role.c_str()); } + this->layout_commit(); // Change current state this->changeCurrentState(req_num); |