summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/Ecore_Wl2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_wl2/Ecore_Wl2.h')
-rw-r--r--src/lib/ecore_wl2/Ecore_Wl2.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index f3a8ddd402..08ae40b19d 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -276,6 +276,14 @@ typedef struct _Ecore_Wl2_Event_Output_Transform
276 int transform, old_transform; 276 int transform, old_transform;
277} Ecore_Wl2_Event_Output_Transform; 277} Ecore_Wl2_Event_Output_Transform;
278 278
279typedef struct _Ecore_Wl2_Event_Window_Rotation
280{
281 Ecore_Wl2_Window *window;
282 int rotation, w, h;
283 Eina_Bool resize : 1;
284} Ecore_Wl2_Event_Window_Rotation;
285typedef struct _Ecore_Wl2_Event_Window_Rotation Ecore_Wl2_Event_Window_Rotation_Change_Prepare;
286
279typedef enum _Ecore_Wl2_Window_Type 287typedef enum _Ecore_Wl2_Window_Type
280{ 288{
281 ECORE_WL2_WINDOW_TYPE_NONE, 289 ECORE_WL2_WINDOW_TYPE_NONE,
@@ -317,6 +325,7 @@ EAPI extern int ECORE_WL2_EVENT_SEAT_KEYMAP_CHANGED; /** @since 1.20 */
317EAPI extern int ECORE_WL2_EVENT_SEAT_KEYBOARD_REPEAT_CHANGED; /** @since 1.20 */ 325EAPI extern int ECORE_WL2_EVENT_SEAT_KEYBOARD_REPEAT_CHANGED; /** @since 1.20 */
318EAPI extern int ECORE_WL2_EVENT_SEAT_SELECTION; /** @since 1.20 */ 326EAPI extern int ECORE_WL2_EVENT_SEAT_SELECTION; /** @since 1.20 */
319EAPI extern int ECORE_WL2_EVENT_OUTPUT_TRANSFORM; /** @since 1.20 */ 327EAPI extern int ECORE_WL2_EVENT_OUTPUT_TRANSFORM; /** @since 1.20 */
328EAPI extern int ECORE_Wl2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE; /** @since 1.20 */
320 329
321/** 330/**
322 * @file 331 * @file
@@ -1067,6 +1076,8 @@ EAPI void ecore_wl2_window_available_rotations_set(Ecore_Wl2_Window *window, con
1067 */ 1076 */
1068EAPI Eina_Bool ecore_wl2_window_available_rotations_get(Ecore_Wl2_Window *window, int **rots, unsigned int count); 1077EAPI Eina_Bool ecore_wl2_window_available_rotations_get(Ecore_Wl2_Window *window, int **rots, unsigned int count);
1069 1078
1079EAPI void ecore_wl2_window_rotation_change_prepare_send(Ecore_Wl2_Window *window, int rot, int w, int h, Eina_Bool resize);
1080
1070/** 1081/**
1071 * @defgroup Ecore_Wl2_Input_Group Wayland Library Input Functions 1082 * @defgroup Ecore_Wl2_Input_Group Wayland Library Input Functions
1072 * @ingroup Ecore_Wl2_Group 1083 * @ingroup Ecore_Wl2_Group