aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-01-08 16:50:50 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-01-11 02:18:36 +0000
commit09a667b964e5b24b56805ac7d7ef7e66d9b22a3c (patch)
tree65426b03c192ce0264d22690d65c4fbb6146de2d
parent12c8934465fd7cebccef4260478b282c1bd18d7f (diff)
Fix screen flickereel_5.0.1eel/5.0.15.0.1
If the app is on background layer for CES hack such like Navigation, when the user push "Home" shortcut botton quickly many times, the app on background layer appears with flickering. So fix the issue. Bug-AGL: SPEC-1247 Change-Id: I777607a99914f0141886e817cb6a5e486f1105f0 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
-rw-r--r--src/app.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/app.cpp b/src/app.cpp
index d218f3e..254214e 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -743,8 +743,6 @@ char const *App::api_request_surface(char const *drawing_name,
void App::activate(int id) {
auto ip = this->controller->sprops.find(id);
if (ip != this->controller->sprops.end()) {
- this->controller->surfaces[id]->set_visibility(0);
- this->layout_commit();
this->controller->surfaces[id]->set_visibility(1);
char const *label =
this->lookup_name(id).value_or("unknown-name").c_str();