aboutsummaryrefslogtreecommitdiffstats
path: root/src/window_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/window_manager.cpp')
-rw-r--r--src/window_manager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/window_manager.cpp b/src/window_manager.cpp
index 31caebf..f209f12 100644
--- a/src/window_manager.cpp
+++ b/src/window_manager.cpp
@@ -227,6 +227,12 @@ result<int> WindowManager::api_request_surface(char const *appid, char const *dr
auto id = int(this->id_alloc.generate_id(role));
this->tmp_surface2app[id] = {s_appid, 0};
+ // Work Around
+ HMI_NOTICE("WORK AROUND: add surface on request surface");
+ auto client = g_app_list.lookUpClient(s_appid);
+ client->addSurface(id);
+ ///////////////
+
// Set role map of (new, old)
this->rolenew2old[role] = string(drawing_name);