summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-02-24 14:13:13 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-02-24 14:13:11 -0500
commit4a691f79df88d4b26c5af48ffb811e28f031e2f1 (patch)
treeae145de30cc876304925262c9dec0a9d2ba7c409 /src
parenta5c7108cc2f4152e0e37b9040b7a4d17bc6e069f (diff)
ecore-evas: handle pointer_warp() for buffer canvas
this was missing and would do nothing when called
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_evas/ecore_evas_buffer.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_buffer.c b/src/lib/ecore_evas/ecore_evas_buffer.c
index 795b27e164..ca84ebe57c 100644
--- a/src/lib/ecore_evas/ecore_evas_buffer.c
+++ b/src/lib/ecore_evas/ecore_evas_buffer.c
@@ -538,6 +538,13 @@ _ecore_evas_buffer_pointer_xy_get(const Ecore_Evas *ee, Evas_Coord *x, Evas_Coor
538 evas_pointer_canvas_xy_get(ee->evas, x, y); 538 evas_pointer_canvas_xy_get(ee->evas, x, y);
539} 539}
540 540
541static Eina_Bool
542_ecore_evas_buffer_pointer_warp(const Ecore_Evas *ee, Evas_Coord x, Evas_Coord y)
543{
544 _ecore_evas_mouse_move_process((Ecore_Evas*)ee, x, y, (unsigned int)((unsigned long long)(ecore_time_get() * 1000.0) & 0xffffffff));
545 return EINA_TRUE;
546}
547
541static Ecore_Evas_Engine_Func _ecore_buffer_engine_func = 548static Ecore_Evas_Engine_Func _ecore_buffer_engine_func =
542{ 549{
543 _ecore_evas_buffer_free, 550 _ecore_evas_buffer_free,
@@ -604,7 +611,7 @@ static Ecore_Evas_Engine_Func _ecore_buffer_engine_func =
604 _ecore_evas_buffer_msg_send, 611 _ecore_evas_buffer_msg_send,
605 612
606 _ecore_evas_buffer_pointer_xy_get, // pointer_xy_get 613 _ecore_evas_buffer_pointer_xy_get, // pointer_xy_get
607 NULL, // pointer_warp 614 _ecore_evas_buffer_pointer_warp, // pointer_warp
608 615
609 NULL, // wm_rot_preferred_rotation_set 616 NULL, // wm_rot_preferred_rotation_set
610 NULL, // wm_rot_available_rotations_set 617 NULL, // wm_rot_available_rotations_set