Code Review
/
apps
/
agl-service-windowmanager-2017.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
5be2629
)
Bug Fix : set source rectangle x, y is not 0
sandbox/knimitz/set_role_pid_ver
author
Kazumasa Mitsunari
<knimitz@witz-inc.co.jp>
Fri, 15 Jun 2018 08:32:22 +0000
(17:32 +0900)
committer
Kazumasa Mitsunari
<knimitz@witz-inc.co.jp>
Fri, 15 Jun 2018 08:32:22 +0000
(17:32 +0900)
Change-Id: I1aa8e406f95094e949b6ba4e5b73bafe2baf40ff
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
src/app.cpp
patch
|
blob
|
history
diff --git
a/src/app.cpp
b/src/app.cpp
index
fdc89fe
..
debbcbd
100644
(file)
--- a/
src/app.cpp
+++ b/
src/app.cpp
@@
-1395,7
+1395,7
@@
bool App::api_set_role(char const *appid, char const *drawing_name, unsigned pid
{
rect.h = this->controller->output_size.h + 1 + rect.h;
}
- this->controller->surfaces[surface]->set_source_rectangle(
rect.x, rect.y
, rect.w, rect.h);
+ this->controller->surfaces[surface]->set_source_rectangle(
0, 0
, rect.w, rect.h);
this->controller->layers[*lid]->add_surface(surface);
this->layout_commit();