ecore-evas: Fix cursor position getting reset to 0,0 when using
authorChris Michael <cp.michael@samsung.com>
Wed, 25 Jun 2014 17:11:16 +0000 (13:11 -0400)
committerChris Michael <cp.michael@samsung.com>
Wed, 25 Jun 2014 17:20:49 +0000 (13:20 -0400)
commit87af84c3e37429694fff6f04e70332dc1bcc8c5d
treea7d05c5e167838a45939b545b8c42c3d83b1ecc4
parentd69e4fbe203d9689fcebc9cd6e3d4e799dd2123e
ecore-evas: Fix cursor position getting reset to 0,0 when using
ecore_evas_cursor_object_set

NB: Previously, if we mad calls to ecore_evas_cursor_object_set to update the
mouse cursor hotspot, the mouse cursor would be repositioned at 0,0 on
the canvas due to x & y being set to 0,0. We fix that here by fetching
the current mouse position Regardless if we are changing the object or
not (ie: perhaps we are just updating the hotspot and not the object)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
src/modules/ecore_evas/engines/fb/ecore_evas_fb.c
src/modules/ecore_evas/engines/sdl/ecore_evas_sdl.c
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
src/modules/ecore_evas/engines/x/ecore_evas_x.c