@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
EAPI Eina_Bool ecore_wl2_window_wm_rotation_supported_get(Ecore_Wl2_Window *window);
/**
+ * Set if an application has set window rotation
+ *
+ * @param window
+ * @param set
+ *
+ * @ingroup Ecore_Wl2_Window_Group
+ * @since 1.20
+ */
+EAPI void ecore_wl2_window_rotation_app_set(Ecore_Wl2_Window *window, Eina_Bool set);
+
+/**
* @defgroup Ecore_Wl2_Input_Group Wayland Library Input Functions
* @ingroup Ecore_Wl2_Group
*
struct
{
Eina_Bool supported : 1;
+ Eina_Bool app_set : 1;
} wm_rot;
};
EINA_SAFETY_ON_NULL_RETURN_VAL(window, EINA_FALSE);
return window->wm_rot.supported;
}
+
+EAPI void
+ecore_wl2_window_rotation_app_set(Ecore_Wl2_Window *window, Eina_Bool set)
+{
+ EINA_SAFETY_ON_NULL_RETURN(window);
+ window->wm_rot.app_set = set;
+}