elm_cnp: DnD/X11: correct drag window position in rotation
authorShilpa Singh <shilpa.singh@samsung.com>
Wed, 21 Oct 2015 21:39:05 +0000 (14:39 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Wed, 21 Oct 2015 21:39:10 +0000 (14:39 -0700)
commitb3cc2d73951831bfec3f5f7d30640db18ee70e66
treed1a00ca77bba265e373c7e3eeb42262c673d8e1b
parent83bb0b03c877d9509cf2d7806bb0fcd2c80db001
elm_cnp: DnD/X11: correct drag window position in rotation

Summary:
For various angles 90, 180, 270,  the calculation of dnd window position
is not proper causing window to be placed wrongly while dragging.
Signed-Off By: Kumar Navneet <k.navneet@samsung.com>

@fix

Test Plan:
Longpress and drag and drop in entry by placing device at various angles
90, 180 and 270.

Reviewers: woohyun, cedric, thiepha

Reviewed By: thiepha

Subscribers: navnbeet

Differential Revision: https://phab.enlightenment.org/D3188

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/elm_cnp.c