devilhorns pushed a commit to branch master.

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

commit f372d11f9945c549600de82ee696f8030a270bab
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Sep 28 09:42:21 2015 -0400

    ecore-wl2: Add API function to set window rotation
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_wl2/Ecore_Wl2.h        | 3 +++
 src/lib/ecore_wl2/ecore_wl2_window.c | 8 ++++++++
 2 files changed, 11 insertions(+)

diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index a9a76b7..2330af6 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -400,6 +400,9 @@ EAPI Eina_Bool 
ecore_wl2_window_maximized_get(Ecore_Wl2_Window *window);
 /* TODO: doxy */
 EAPI Eina_Bool ecore_wl2_window_fullscreen_get(Ecore_Wl2_Window *window);
 
+/* TODO: doxy */
+EAPI void ecore_wl2_window_rotation_set(Ecore_Wl2_Window *window, int 
rotation);
+
 /* # ifdef __cplusplus */
 /* } */
 /* # endif */
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c 
b/src/lib/ecore_wl2/ecore_wl2_window.c
index 1925c25..71a7b02 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -603,3 +603,11 @@ ecore_wl2_window_fullscreen_get(Ecore_Wl2_Window *window)
 
    return EINA_FALSE;
 }
+
+EAPI void
+ecore_wl2_window_rotation_set(Ecore_Wl2_Window *window, int rotation)
+{
+   EINA_SAFETY_ON_NULL_RETURN(window);
+
+   window->rotation = rotation;
+}

-- 


Reply via email to