From: Doyoun Kang Date: Thu, 17 Oct 2019 05:27:53 +0000 (+0900) Subject: e_client: add a E_EVENT_CLIENT_ROTATION_GEOMETRY_SET event type X-Git-Tag: submit/tizen_4.0/20191023.012226^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_4.0;p=platform%2Fupstream%2Fenlightenment.git e_client: add a E_EVENT_CLIENT_ROTATION_GEOMETRY_SET event type Change-Id: I517850466d5ee48bf74cd105a3566788ce0496df --- diff --git a/src/bin/e_client.c b/src/bin/e_client.c index d6a0278437..df4384c03b 100644 --- a/src/bin/e_client.c +++ b/src/bin/e_client.c @@ -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; @@ -3739,6 +3740,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(); diff --git a/src/bin/e_client.h b/src/bin/e_client.h index 764ddfd6ab..d5ef201556 100644 --- a/src/bin/e_client.h +++ b/src/bin/e_client.h @@ -212,6 +212,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 @@ -313,6 +314,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; +}; + struct E_Client { E_Object e_obj_inherit; @@ -988,6 +996,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;