summaryrefslogtreecommitdiff
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
commita34d2d0b85aeebb1abe698dbef5e9b27a5aa3bd2 (patch)
tree61a56602a8fcee0e642442c059c6db6b7886d7e1
parent4f540c1a7c4133820ddd73ea88e7bde288351a37 (diff)
ecore-evas: handle screen_geom_get() for buffer canvas
this was missing and would do nothing when called
-rw-r--r--src/lib/ecore_evas/ecore_evas_buffer.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_buffer.c b/src/lib/ecore_evas/ecore_evas_buffer.c
index 21d03ec7e7..8029f490fe 100644
--- a/src/lib/ecore_evas/ecore_evas_buffer.c
+++ b/src/lib/ecore_evas/ecore_evas_buffer.c
@@ -523,6 +523,15 @@ _ecore_evas_buffer_msg_send(Ecore_Evas *ee, int msg_domain, int msg_id, void *da
523 } 523 }
524} 524}
525 525
526static void
527_ecore_evas_buffer_screen_geometry_get(const Ecore_Evas *ee, int *x, int *y, int *w, int *h)
528{
529 if (x) *x = ee->x;
530 if (y) *y = ee->y;
531 if (w) *w = ee->w;
532 if (h) *h = ee->h;
533}
534
526static Ecore_Evas_Engine_Func _ecore_buffer_engine_func = 535static Ecore_Evas_Engine_Func _ecore_buffer_engine_func =
527{ 536{
528 _ecore_evas_buffer_free, 537 _ecore_evas_buffer_free,
@@ -583,7 +592,7 @@ static Ecore_Evas_Engine_Func _ecore_buffer_engine_func =
583 NULL, 592 NULL,
584 593
585 _ecore_evas_buffer_render, 594 _ecore_evas_buffer_render,
586 NULL, // screen_geometry_get 595 _ecore_evas_buffer_screen_geometry_get,
587 NULL, // screen_dpi_get 596 NULL, // screen_dpi_get
588 _ecore_evas_buffer_msg_parent_send, 597 _ecore_evas_buffer_msg_parent_send,
589 _ecore_evas_buffer_msg_send, 598 _ecore_evas_buffer_msg_send,