From 7515965e55e112a4228764614bcdd3811ae44dd7 Mon Sep 17 00:00:00 2001 From: Tadao Tanikawa Date: Mon, 12 Dec 2016 16:55:58 +0900 Subject: Hack to fix issue of switching apps To switching between apps, controlling surface's visiblity (on/off) does not work as intended. It looks work well to set render order of layers properly. TODO: switching between apps and navigation still doesn't work. For develop, navigation icon is assgined to 'controls@0.1' and now, controls app doesn't make any wl_surfaces (don't know why). Probably this causes issue switching between apps <-> navigation. Signed-off-by: Tadao Tanikawa --- WindowManager/src/windowmanager.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'WindowManager/src/windowmanager.hpp') diff --git a/WindowManager/src/windowmanager.hpp b/WindowManager/src/windowmanager.hpp index 7358412..8c8f63c 100644 --- a/WindowManager/src/windowmanager.hpp +++ b/WindowManager/src/windowmanager.hpp @@ -49,6 +49,9 @@ private: unsigned int m_screenWidth; unsigned int m_screenHeight; + int* m_showLayers; + int getLayerRenderOrder(t_ilm_layer id_array[]); + void dumpScene(); #ifdef HAVE_IVI_LAYERMANAGEMENT_API -- cgit 1.2.3-korg