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
(from parent 1:
52a0047
)
Set source rectangle when surface created
author
Kazumasa Mitsunari
<knimitz@witz-inc.co.jp>
Mon, 29 Oct 2018 04:52:37 +0000
(13:52 +0900)
committer
Kazumasa Mitsunari
<knimitz@witz-inc.co.jp>
Mon, 29 Oct 2018 04:52:37 +0000
(13:52 +0900)
Change-Id: I74be18238f725a9fd2c7ab6a741bef86a95938f1
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
src/wm_layer_control.cpp
patch
|
blob
|
history
diff --git
a/src/wm_layer_control.cpp
b/src/wm_layer_control.cpp
index
31a5482
..
3d1d257
100644
(file)
--- a/
src/wm_layer_control.cpp
+++ b/
src/wm_layer_control.cpp
@@
-462,6
+462,7
@@
void LayerControl::dispatchCreateEvent(ilmObjectType object, unsigned id, bool c
return;
}
this->cb.surfaceCreated(sp.creatorPid, id);
+ ilm_surfaceSetSourceRectangle(id, 0, 0, sp.origSourceWidth, sp.origSourceHeight);
ilm_surfaceAddNotification(id, surfaceCallback_static);
ilm_surfaceSetVisibility(id, ILM_TRUE);
ilm_surfaceSetType(id, ILM_SURFACETYPE_DESKTOP);