From 7614135f5b9e129bb9af431e80f377cc128196c5 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Mon, 8 Jan 2018 16:50:50 +0900 Subject: Fix screen flicker 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 --- src/app.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') 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(); -- cgit 1.2.3-korg