aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-08-06 18:38:00 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-08-06 18:38:00 +0900
commitc447b8902934dc59166d5ae2b558fbb886b01887 (patch)
treeba9aef18560693836d611e795650f2328fe52762 /src
parent000e5f8983984d65cc7599908541801ec2babed2 (diff)
Add horizontal layer
Diffstat (limited to 'src')
-rw-r--r--src/db/areas.db54
-rw-r--r--src/window_manager.cpp4
2 files changed, 31 insertions, 27 deletions
diff --git a/src/db/areas.db b/src/db/areas.db
index 03ddfe4..a8039fa 100644
--- a/src/db/areas.db
+++ b/src/db/areas.db
@@ -5,80 +5,80 @@
"rect": {
"x": 0,
"y": 0,
- "w": 1080,
- "h": 1920
+ "w": 1920,
+ "h": 1080
}
},
{
"name": "normal.full",
"rect": {
"x": 0,
- "y": 218,
- "w": 1080,
- "h": 1488
+ "y": 0,
+ "w": 1920,
+ "h": 1080
}
},
{
"name": "split.main",
"rect": {
"x": 0,
- "y": 218,
- "w": 1080,
- "h": 744
+ "y": 0,
+ "w": 1920,
+ "h": 540
}
},
{
"name": "split.sub",
"rect": {
"x": 0,
- "y": 962,
- "w": 1080,
- "h": 744
+ "y": 540,
+ "w": 1920,
+ "h": 540
}
},
{
- "name": "software_keyboard",
+ "name": "skb",
"rect": {
"x": 0,
- "y": 962,
- "w": 1080,
- "h": 744
+ "y": 0,
+ "w": 1920,
+ "h": 1080
}
},
{
"name": "restriction.normal",
"rect": {
"x": 0,
- "y": 218,
- "w": 1080,
- "h": 1488
+ "y": 0,
+ "w": 1920,
+ "h": 1808
}
},
{
"name": "restriction.split.main",
"rect": {
"x": 0,
- "y": 218,
- "w": 1080,
- "h": 744
+ "y": 0,
+ "w": 1920,
+ "h": 540
}
},
{
"name": "restriction.split.sub",
"rect": {
"x": 0,
- "y": 962,
- "w": 1080,
- "h": 744
+ "y": 540,
+ "w": 1920,
+ "h": 540
}
},
{
"name": "on_screen",
"rect": {
"x": 0,
- "y": 218,
- "w": 1080,
- "h": 1488
+ "y": 0,
+ "w": 1920,
+ "h": 1080
}
}
]
diff --git a/src/window_manager.cpp b/src/window_manager.cpp
index aa42d82..dd757d6 100644
--- a/src/window_manager.cpp
+++ b/src/window_manager.cpp
@@ -1133,6 +1133,10 @@ WMError WindowManager::setInvisibleTask(const std::string &role, bool split)
{
continue;
}
+ if (l.second.role == "homescreen")
+ {
+ continue;
+ }
HMI_DEBUG("wm", "debug: main %d , sub : %d", l.second.state.main, l.second.state.sub);
if (l.second.state.main != -1)
{