static Eina_Bool _e_zone_hook_call(E_Zone_Hook_Point hookpoint, E_Zone *zone);
EINTERN int E_EVENT_ZONE_DESK_COUNT_SET = 0;
-E_API int E_EVENT_ZONE_MOVE_RESIZE = 0;
+EINTERN int E_EVENT_ZONE_MOVE_RESIZE = 0;
EINTERN int E_EVENT_ZONE_ADD = 0;
EINTERN int E_EVENT_ZONE_DEL = 0;
#include <wayland-server.h>
+typedef struct _E_Zone_Obstacle E_Zone_Obstacle;
+
+typedef struct _E_Event_Zone_Generic E_Event_Zone_Desk_Count_Set;
+typedef struct _E_Event_Zone_Generic E_Event_Zone_Move_Resize;
+typedef struct _E_Event_Zone_Generic E_Event_Zone_Useful_Geometry_Change;
+typedef struct _E_Event_Zone_Generic E_Event_Zone_Add;
+typedef struct _E_Event_Zone_Generic E_Event_Zone_Del;
+
+typedef struct _E_Event_Pointer_Warp E_Event_Pointer_Warp;
+typedef struct _E_Event_Zone_Generic E_Event_Zone_Stow;
+typedef struct _E_Event_Zone_Generic E_Event_Zone_Unstow;
+
extern EINTERN int E_EVENT_ZONE_DESK_COUNT_SET;
extern EINTERN int E_EVENT_ZONE_ADD;
extern EINTERN int E_EVENT_ZONE_DEL;
extern EINTERN int E_EVENT_ZONE_DISPLAY_STATE_CHANGE;
extern EINTERN int E_EVENT_ZONE_USEFUL_GEOMETRY_CHANGE;
+extern EINTERN int E_EVENT_ZONE_MOVE_RESIZE;
+
+struct _E_Event_Pointer_Warp
+{
+ struct
+ {
+ int x, y;
+ } prev;
+ struct
+ {
+ int x, y;
+ } curr;
+};
+
+struct _E_Zone_Obstacle
+{
+ E_Client *ec;
+ int x, y, w, h; // obstacle area, this can not be same to ec's geometry
+ Eina_Bool vertical;
+};
typedef struct _E_Zone_Data_Move_Resize
{
#define E_ZONE_TYPE (int)0xE0b0100d
-typedef struct _E_Zone_Obstacle E_Zone_Obstacle;
-
-typedef struct _E_Event_Zone_Generic E_Event_Zone_Desk_Count_Set;
-typedef struct _E_Event_Zone_Generic E_Event_Zone_Move_Resize;
-typedef struct _E_Event_Zone_Generic E_Event_Zone_Useful_Geometry_Change;
-typedef struct _E_Event_Zone_Generic E_Event_Zone_Add;
-typedef struct _E_Event_Zone_Generic E_Event_Zone_Del;
/* TODO: Move this to a general place? */
-typedef struct _E_Event_Pointer_Warp E_Event_Pointer_Warp;
-typedef struct _E_Event_Zone_Generic E_Event_Zone_Stow;
-typedef struct _E_Event_Zone_Generic E_Event_Zone_Unstow;
typedef struct _E_Event_Zone_Rotation_Change_Begin E_Event_Zone_Rotation_Change_Begin;
typedef struct _E_Event_Zone_Rotation_Change_Cancel E_Event_Zone_Rotation_Change_Cancel;
typedef struct _E_Event_Zone_Rotation_Change_End E_Event_Zone_Rotation_Change_End;
E_Focus *focus;
};
-struct _E_Zone_Obstacle
+struct _E_Event_Zone_Display_State_Change
{
- E_Client *ec;
- int x, y, w, h; // obstacle area, this can not be same to ec's geometry
- Eina_Bool vertical;
+ E_Zone *zone;
};
struct _E_Event_Zone_Generic
E_Zone *zone;
};
-struct _E_Event_Pointer_Warp
-{
- struct
- {
- int x, y;
- } prev;
- struct
- {
- int x, y;
- } curr;
-};
-
struct _E_Event_Zone_Rotation_Change_Begin
{
E_Zone *zone;
E_Zone *zone;
};
-struct _E_Event_Zone_Display_State_Change
-{
- E_Zone *zone;
-};
-
-extern E_API int E_EVENT_ZONE_MOVE_RESIZE;
extern E_API int E_EVENT_ZONE_ROTATION_CHANGE_BEGIN;
extern E_API int E_EVENT_ZONE_ROTATION_CHANGE_CANCEL;
extern E_API int E_EVENT_ZONE_ROTATION_CHANGE_END;