aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-10-31Add "request_surface_id" optionKazumasa Mitsunari3-19/+34
Change-Id: I1461efb544ace5c1bde6eac1ff0209aa96934e32 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-10-29Set source rectangle when surface createdKazumasa Mitsunari1-0/+1
Change-Id: I74be18238f725a9fd2c7ab6a741bef86a95938f1 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-10-17Fix surface shrinks uglyKazumasa Mitsunari1-0/+1
Set ILM_SURFACETYPE_DESKTOP when surface is created. This is necessary to fix surface shrinks ugly. Change-Id: Id2a375fe99aef9b6aab907c18d00a52724063a6e Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-28Fix the size of chromium using setRole is not setKazumasa Mitsunari1-0/+1
Change-Id: Iad8a58685a52df9d0ae98fc0b8951a81412b58b9 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-28Fix the bug of searching ApplicationKazumasa Mitsunari1-1/+1
Change-Id: I7e79caa6133cda8a3c7677283cc01bf8abf6764c Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-25Merge branch 'sandbox/knimitz/fix_set_role'Kazumasa Mitsunari2-65/+98
Change-Id: Ia53eb039ef5dd6a1eac3bb333d5fe67b4d906ef9 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-25Remove service surface in WMClient if service surface vanishesKazumasa Mitsunari1-0/+13
Change-Id: I3c12a8313c6aaa411001fec260d09106f897664e Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-25Implement attachAppKazumasa Mitsunari4-16/+76
Change-Id: I4082fd400fd2f82fcb6cbbcc66d584fb0a572827 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-18On the way to adding attach service surfaceKazumasa Mitsunari3-0/+57
Change-Id: Ief7fe7ecbe2022b9b6b70e4f3df1c2e7a074075a Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-18Add setRenderOrder into WMClientKazumasa Mitsunari3-0/+53
Implement finishes but not tested Change-Id: I59929038c163c445b562e9d9f28516da57516339 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-14Remove unnecessary functionsKazumasa Mitsunari4-103/+13
Change-Id: Ia66c5358572a1a6ea03c6f1e713b187f60979e8c Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-14New API: setRenderOrderKazumasa Mitsunari3-0/+50
Add stub function in windowmanager Change-Id: I2e3f5ebe6318443bdcdfd21a14eadef2d69d8e4d Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-14Fix setRoleKazumasa Mitsunari1-8/+15
Change-Id: If45fb7ab91146cd5e36a2d7c40d2e3533b3a84a1 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-14Fix memory leak of return value of afb_req_get_application_idKazumasa Mitsunari1-55/+85
Change-Id: I522e6e77ee76d44136c4398a1d67ce66a5b71638 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-14Remove pid in args in setRoleKazumasa Mitsunari3-12/+3
Change-Id: Ic5d1610a3ac7b67764c4d1987abdd2790e482ff2 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-14Fix requestSurfaceXDGKazumasa Mitsunari3-16/+32
Change-Id: Ieb3d46e03e6b7894cb3175ee5c48a725f86c3426 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-14Rename dispatchPropertyChangeEvent APIKazumasa Mitsunari2-6/+7
Stop overload and devide 2 APIs * dispatchSurfacePropChangeEvent * dispatchLayerPropChangeEvent Change-Id: Ibe5fb58d0dd06bcc0aa4e5e6063b57d05715656e Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-12Implement set_roleKazumasa Mitsunari2-35/+127
TODO: Test * register_surface_xdg * set_role Next: * attachApp * setRenderOrder * moveSurface Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-12Use camelCase for verbsKazumasa Mitsunari1-8/+8
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-12Fix requestSurfaceXDGKazumasa Mitsunari1-16/+29
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-12Emit active/inactiveKazumasa Mitsunari1-0/+15
Change-Id: I95fab49ce6fa63a2f849fc896a0fd1a19c2c14cd Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-12Remove wayland part from Window Manager [1/2]Kazumasa Mitsunari3-576/+14
Change-Id: Icc3c0d3460ee88620e4c2f910536d66928085cbb Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-12Fix the manipulation of surface/layerKazumasa Mitsunari2-19/+12
* Set offset when creating new layer * Set surface size not layer when layoutChange Change-Id: I335e8afa83d2874076d9138d473ce07399aa2e4b Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-12Fix event dispatcher of surface and layerKazumasa Mitsunari1-89/+26
Change-Id: I0bb83298a1750e4363d59ddf30ceb13402d76e0f Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-11Fix double adding to render_orderKazumasa Mitsunari1-1/+3
Change-Id: I47a10f70b3e07b0bdb1339bf171c76cc8780c8e6 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-11Add terminate process for layer_controlKazumasa Mitsunari3-0/+11
Change-Id: I583bfa1da8fa88e15b13417de15d7d2b9e79f7f2 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-11Fix Window Manager crush when application terminatedKazumasa Mitsunari1-2/+6
Fix Window Manager crush when applicaiton terminated caused by wrong handling of sd_event_source. v2. Add error check just in case conflict : window_manager.cpp Fix build error Bug-AGL: SPEC-1696 Change-Id: I639a60015cde46fca6bc5a3f6e8037afd8d79330 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-11Change API in wm_layerKazumasa Mitsunari3-5/+21
* commitChange -> update * add undo Change-Id: I81a10fe5fcaa802f224af75457869dadc7a83f25 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-11Fix output debug messageKazumasa Mitsunari2-2/+1
Change-Id: I4ada8c5630666accf15b94312282b67a748b1c70 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-10Update wm_layer: Set Area to stateKazumasa Mitsunari3-4/+21
Change-Id: I039ac972ff2a10300938e50aae0ed57ea8606902 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-10LayerController::commitChange -> renderLayersKazumasa Mitsunari3-5/+5
Change-Id: Ib0735e592f610a7b238a941db6b7bcb842410ce7 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-10Update wm_layer* : Render order changeKazumasa Mitsunari4-25/+100
Change-Id: I3e417785d36e113a2b97076774d80c46defd3be4 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-10Add commit_change after layer size changedKazumasa Mitsunari1-0/+2
Change-Id: I93b931e2371939cda5a3977a1a4859658e302795 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-10Fix the set property of layer source rectangleKazumasa Mitsunari1-1/+1
source x,y should be 0,0 and then set destination sets offset and scaling Change-Id: I8e503e49ac7d186a7736b0e675838e5559deb7fd Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-08Add callback function when surface deadKazumasa Mitsunari3-1/+5
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-08Watch the contents of TaskVisibleKazumasa Mitsunari1-2/+2
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-08Change layer size when layoutChange()Kazumasa Mitsunari1-7/+4
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-08Fix layer can't go to centerKazumasa Mitsunari3-5/+6
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-08Change size (0, 0) if layer turns invisibleKazumasa Mitsunari1-17/+62
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-08Fix window_manager.cpp used old_roleKazumasa Mitsunari1-1/+1
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-08Fix the mistake of generating new layerIDKazumasa Mitsunari1-2/+2
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-08Update wm_layer_control.cppKazumasa Mitsunari1-3/+5
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-08Temporary fix of windowmanagerKazumasa Mitsunari1-5/+12
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-08Return WMError instead of boolKazumasa Mitsunari2-3/+4
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-08Return nullptr if client is not foundKazumasa Mitsunari1-1/+8
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-08Update wm_layerKazumasa Mitsunari4-6/+39
* add getUuid * add getWMLayer Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-08Change local variable nameKazumasa Mitsunari2-6/+6
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-07Modify getAppIDKazumasa Mitsunari3-3/+18
Change-Id: I3454b5013e59cd46be081dd30a295dda792deff8 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-07addSurface to clientKazumasa Mitsunari4-2/+30
Change-Id: I2f09a94893699fc73bc82ac2caad5a9e282405b3 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-09-07Remove wm_layer_name in wm_clientKazumasa Mitsunari6-36/+35
Change-Id: I6b146ca41f9be311d0d21163e5fe23aeabbfe3fc Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>