rotation: added code to check visibility of given ec before setting rotation in _e_cl... 76/115376/1
authorGwanglim Lee <gl77.lee@samsung.com>
Fri, 17 Feb 2017 13:03:32 +0000 (22:03 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Fri, 17 Feb 2017 13:03:32 +0000 (22:03 +0900)
commitbfdbaab9f6434e194969e210ef58567b3fbed302
treebf65c385541ab2cc392b74485f6705b31b765853
parent05e4606e2dd240fb92009093d59dfbad08d07438
rotation: added code to check visibility of given ec before setting rotation in _e_client_rotation_zone_set

we need to check ec is visible before rotating it.

e.g. camera -> image-viewer launching case

  image-viewer: bg_ec is set to image-viewer ec at the previous phase of this loop
  ec: camera

  if we decide to rotate camera ec which is obscured by image-viewer window,
  then camera app will not send rotation done event. thus it occurrs rotation time
  out error. to resolve this issue we should exclude obscured camera ec from
  rotation list.

Change-Id: Icd531284f6a894fea61d2e4f283a858c8ca69d83
src/rotation/e_mod_rotation_wl.c