Code Review
/
apps
/
agl-service-windowmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
1da66cc
)
modify rect size in set role
sandbox/zheng_wenlong/set_role_pid_ver
author
zheng_wenlong
<wenlong_zheng@nexty-ele.com>
Fri, 15 Jun 2018 06:56:30 +0000
(15:56 +0900)
committer
zheng_wenlong
<wenlong_zheng@nexty-ele.com>
Fri, 15 Jun 2018 06:56:30 +0000
(15:56 +0900)
src/app.cpp
patch
|
blob
|
history
diff --git
a/src/app.cpp
b/src/app.cpp
index
da503b5
..
895b63a
100644
(file)
--- a/
src/app.cpp
+++ b/
src/app.cpp
@@
-1385,6
+1385,7
@@
bool App::api_set_role(char const *appid, char const *drawing_name, unsigned pid
// this surface is already created
HMI_DEBUG("wm", "surface_id is %u, layer_id is %u", surface, *lid);
+ this->controller->surfaces[surface]->set_source_rectangle(0, 0, 1080, 1488);
this->controller->layers[*lid]->add_surface(surface);
this->layout_commit();