devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b59b3016e82bdc4b54613ad96091b35a867839bf

commit b59b3016e82bdc4b54613ad96091b35a867839bf
Author: Chris Michael <[email protected]>
Date:   Thu Sep 4 10:01:33 2014 -0400

    ecore-drm: Add API function for getting screen geometry
    
    This adds an API function that we can call to return the screen
    geometry. This will be used from ecore_evas to get the screen_geometry.
    
    @feature
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/lib/ecore_drm/Ecore_Drm.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lib/ecore_drm/Ecore_Drm.h b/src/lib/ecore_drm/Ecore_Drm.h
index 74ec4fc..64e9cd9 100644
--- a/src/lib/ecore_drm/Ecore_Drm.h
+++ b/src/lib/ecore_drm/Ecore_Drm.h
@@ -189,6 +189,11 @@ EAPI void ecore_drm_output_fb_release(Ecore_Drm_Output 
*output, Ecore_Drm_Fb *fb
 EAPI void ecore_drm_output_repaint(Ecore_Drm_Output *output);
 EAPI void ecore_drm_output_size_get(Ecore_Drm_Device *dev, int output, int *w, 
int *h);
 
+/**
+ * @since 1.12
+ */
+EAPI void ecore_drm_outputs_geometry_get(Ecore_Drm_Device *dev, int *x, int 
*y, int *w, int *h);
+
 EAPI Eina_Bool ecore_drm_inputs_create(Ecore_Drm_Device *dev);
 EAPI void ecore_drm_inputs_destroy(Ecore_Drm_Device *dev);
 EAPI Eina_Bool ecore_drm_inputs_enable(Ecore_Drm_Input *input);

-- 


Reply via email to