aboutsummaryrefslogtreecommitdiffstats
path: root/src/layers.cpp
diff options
context:
space:
mode:
authorYuta Doi <yuta-d@witz-inc.co.jp>2018-06-29 19:46:55 +0900
committerYuta Doi <yuta-d@witz-inc.co.jp>2018-07-09 10:04:38 +0900
commitcf05c2b5c92b9a79635aa2277a9d55449e14fab6 (patch)
tree6887035dc77dfe14362914f6bd116601006c39cd /src/layers.cpp
parent6373ce04e2d6c6ae77246bcf7560447b3daaed3d (diff)
Convert the roles from old one to new
Update the role name (drawing_name) and WindowManager converts the role from old one to new. We plan to delete the old roles by GG. Therefore the applications can use old olds until GG, After GG, old roles can not be used. If the applications use it, WindowManager regards the applications as the role "fallback". Therefore the applications may not be displayed in the intended layout. For the role "fallback", please refer to JIRA SPEC-1331. Bug-AGL: SPEC-1566 Change-Id: I6ca703183e3cab72ac460094ef14dc3675a98cb6 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
Diffstat (limited to 'src/layers.cpp')
-rw-r--r--src/layers.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/layers.cpp b/src/layers.cpp
index e3ff30c..27fc53e 100644
--- a/src/layers.cpp
+++ b/src/layers.cpp
@@ -196,7 +196,7 @@ void layer_map::setupArea(int output_w, int output_h)
compositor::rect rct;
// setup normal.full
std::string area = "normal.full";
- std::string role = "Fallback";
+ std::string role = "fallback";
auto l_id = this->get_layer_id(role);
auto l = this->get_layer(*l_id);
rct = l->rect;
@@ -220,7 +220,7 @@ void layer_map::setupArea(int output_w, int output_h)
// setup homescreen
area = "fullscreen";
- role = "HomeScreen";
+ role = "homescreen";
rct = compositor::full_rect;
if (rct.w <= 0)
rct.w = output_w + rct.w + 1;
@@ -230,7 +230,7 @@ void layer_map::setupArea(int output_w, int output_h)
// setup onscreen
area = "on_screen";
- role = "OnScreen";
+ role = "on_screen";
auto ons_id = this->get_layer_id(role);
auto l_ons = this->get_layer(*ons_id);
rct = l_ons->rect;