diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-06-08 00:08:11 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-06-08 00:14:25 +0900 |
commit | 46d1ad85e8a4531dcb7dc9599f6c09554e2cdfbb (patch) | |
tree | daf9ae040a3afaa7e2ae002a504d2f7b82e47b43 /src/app.cpp | |
parent | d78ae3cd8f316d1830cde4d611b8e42f90dbcc11 (diff) |
Insert hack code to compatible split mode
Change-Id: Iaf1769493979637f62e26c4db63b5cd205b13f7b
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/app.cpp')
-rw-r--r-- | src/app.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app.cpp b/src/app.cpp index 1645bfe..e9f6d92 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -758,6 +758,14 @@ void App::lm_layout_change(const char *drawing_name) std::string str_area_sub = std::string(kNameLayoutSplit) + "." + std::string(kNameAreaSub); compositor::rect area_rect_main = this->area_info[state.main]; compositor::rect area_rect_sub = this->area_info[*surface_id]; + // >>> HACK + HMI_WARNING("wm", "HACK!!!"); + std::string hack_appid = "hack"; + std::string hack_role = main; + std::string hack_area = str_area_main; + g_app_list.setAction(g_app_list.currentSequenceNumber(), hack_appid, hack_role, hack_area, true); + g_app_list.setEndDrawFinished(g_app_list.currentSequenceNumber(), hack_appid, hack_role); // This process is illegal + // >>> HACK this->emit_syncdraw(main.c_str(), str_area_main.c_str(), area_rect_main.x, area_rect_main.y, area_rect_main.w, area_rect_main.h); |