e_client: add a E_EVENT_CLIENT_ROTATION_GEOMETRY_SET event type 95/216195/1 accepted/tizen/5.0/unified/20191023.050226 submit/tizen_5.0/20191022.074336
authorDoyoun Kang <doyoun.kang@samsung.com>
Thu, 17 Oct 2019 05:27:53 +0000 (14:27 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Tue, 22 Oct 2019 05:14:40 +0000 (14:14 +0900)
Change-Id: I517850466d5ee48bf74cd105a3566788ce0496df

src/bin/e_client.c
src/bin/e_client.h

index 1a4ea1dacfa9385e14fdb845ba6a1c52368eaae5..7a0d19d1f578f66c541d9cc2b6aa61f0980bacf4 100644 (file)
@@ -26,6 +26,7 @@ E_API int E_EVENT_CLIENT_UNFULLSCREEN = -1;
 E_API int E_EVENT_CLIENT_ROTATION_CHANGE_BEGIN = -1;
 E_API int E_EVENT_CLIENT_ROTATION_CHANGE_CANCEL = -1;
 E_API int E_EVENT_CLIENT_ROTATION_CHANGE_END = -1;
+E_API int E_EVENT_CLIENT_ROTATION_GEOMETRY_SET = -1;
 #endif
 E_API int E_EVENT_CLIENT_VISIBILITY_CHANGE = -1;
 E_API int E_EVENT_CLIENT_BUFFER_CHANGE = -1;
@@ -3907,6 +3908,7 @@ e_client_init(void)
    E_EVENT_CLIENT_ROTATION_CHANGE_BEGIN = ecore_event_type_new();
    E_EVENT_CLIENT_ROTATION_CHANGE_CANCEL = ecore_event_type_new();
    E_EVENT_CLIENT_ROTATION_CHANGE_END = ecore_event_type_new();
+   E_EVENT_CLIENT_ROTATION_GEOMETRY_SET = ecore_event_type_new();
 #endif
    E_EVENT_CLIENT_VISIBILITY_CHANGE = ecore_event_type_new();
    E_EVENT_CLIENT_BUFFER_CHANGE = ecore_event_type_new();
index 07cb680d717d697b76002ae49ae806a4c8b73b16..1bac5a59938c0cfc9737c36ee615e9e2b6c60e66 100644 (file)
@@ -215,6 +215,7 @@ typedef struct _E_Client_Intercept_Hook E_Client_Intercept_Hook;
 typedef struct E_Event_Client E_Event_Client_Rotation_Change_Begin;
 typedef struct E_Event_Client E_Event_Client_Rotation_Change_Cancel;
 typedef struct E_Event_Client E_Event_Client_Rotation_Change_End;
+typedef struct _E_Event_Client_Rotation_Geometry_Set E_Event_Client_Rotation_Geometry_Set;
 #endif
 
 typedef enum _E_Client_Hook_Point
@@ -322,6 +323,13 @@ struct _E_Client_Pending_Resize
    unsigned int  serial;
 };
 
+struct _E_Event_Client_Rotation_Geometry_Set
+{
+   E_Client *ec;
+   unsigned int angle; /* 0, 90, 180, 270 */
+   int x, y, w, h;
+};
+
 typedef enum
 {
    E_GEOMETRY_NONE = 0,
@@ -1022,6 +1030,7 @@ E_API extern int E_EVENT_CLIENT_UNFULLSCREEN;
 E_API extern int E_EVENT_CLIENT_ROTATION_CHANGE_BEGIN;
 E_API extern int E_EVENT_CLIENT_ROTATION_CHANGE_CANCEL;
 E_API extern int E_EVENT_CLIENT_ROTATION_CHANGE_END;
+E_API extern int E_EVENT_CLIENT_ROTATION_GEOMETRY_SET;
 #endif
 E_API extern int E_EVENT_CLIENT_VISIBILITY_CHANGE;
 E_API extern int E_EVENT_CLIENT_BUFFER_CHANGE;