summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
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
commita5c7108cc2f4152e0e37b9040b7a4d17bc6e069f (patch)
treeb0527f04a32f8c7b12042038ad0d87bc5fda5832 /src/lib/ecore_evas
parenta34d2d0b85aeebb1abe698dbef5e9b27a5aa3bd2 (diff)
ecore-evas: handle pointer_xy_get() for buffer canvas
this was missing and would do nothing when called
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/ecore_evas_buffer.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_buffer.c b/src/lib/ecore_evas/ecore_evas_buffer.c
index 8029f490fe..795b27e164 100644
--- a/src/lib/ecore_evas/ecore_evas_buffer.c
+++ b/src/lib/ecore_evas/ecore_evas_buffer.c
@@ -532,6 +532,12 @@ _ecore_evas_buffer_screen_geometry_get(const Ecore_Evas *ee, int *x, int *y, int
532 if (h) *h = ee->h; 532 if (h) *h = ee->h;
533} 533}
534 534
535static void
536_ecore_evas_buffer_pointer_xy_get(const Ecore_Evas *ee, Evas_Coord *x, Evas_Coord *y)
537{
538 evas_pointer_canvas_xy_get(ee->evas, x, y);
539}
540
535static Ecore_Evas_Engine_Func _ecore_buffer_engine_func = 541static Ecore_Evas_Engine_Func _ecore_buffer_engine_func =
536{ 542{
537 _ecore_evas_buffer_free, 543 _ecore_evas_buffer_free,
@@ -597,7 +603,7 @@ static Ecore_Evas_Engine_Func _ecore_buffer_engine_func =
597 _ecore_evas_buffer_msg_parent_send, 603 _ecore_evas_buffer_msg_parent_send,
598 _ecore_evas_buffer_msg_send, 604 _ecore_evas_buffer_msg_send,
599 605
600 NULL, // pointer_xy_get 606 _ecore_evas_buffer_pointer_xy_get, // pointer_xy_get
601 NULL, // pointer_warp 607 NULL, // pointer_warp
602 608
603 NULL, // wm_rot_preferred_rotation_set 609 NULL, // wm_rot_preferred_rotation_set