typedef struct _Ecore_Wl2_Keyboard Ecore_Wl2_Keyboard;
typedef struct _Ecore_Wl2_Touch Ecore_Wl2_Touch;
typedef struct _Ecore_Wl2_Offer Ecore_Wl2_Offer;
+typedef struct _Ecore_Wl2_Aux_Hint Ecore_Wl2_Aux_Hint;
/* matches protocol values */
typedef enum
ECORE_WL2_WINDOW_TYPE_LAST
} Ecore_Wl2_Window_Type;
+typedef struct _Ecore_Wl2_Event_Aux_Hint_Allowed
+{
+ unsigned int win;
+ int id;
+} Ecore_Wl2_Event_Aux_Hint_Allowed;
+
typedef void (*Ecore_Wl2_Bind_Cb)(struct wl_client *client, void *data, uint32_t version, uint32_t id);
typedef void (*Ecore_Wl2_Unbind_Cb)(struct wl_resource *resource);
EAPI extern int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE; /** @since 1.20 */
EAPI extern int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST; /** @since 1.20 */
EAPI extern int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE; /** @since 1.20 */
+EAPI extern int ECORE_WL2_EVENT_AUX_HINT_ALLOWED; /** @since 1.20 */
/**
* @file
EAPI int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE = 0;
EAPI int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST = 0;
EAPI int ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE = 0;
+EAPI int ECORE_WL2_EVENT_AUX_HINT_ALLOWED = 0;
EAPI int _ecore_wl2_event_window_www = -1;
EAPI int _ecore_wl2_event_window_www_drag = -1;
ecore_event_type_new();
ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST = ecore_event_type_new();
ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE = ecore_event_type_new();
+ ECORE_WL2_EVENT_AUX_HINT_ALLOWED = ecore_event_type_new();
}
if (!no_session_recovery)
no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY");
ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE,
ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE,
ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST,
- ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE);
+ ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE,
+ ECORE_WL2_EVENT_AUX_HINT_ALLOWED);
/* shutdown Ecore_Event */
ecore_event_shutdown();
Eina_Bool sync : 1;
};
+struct _Ecore_Wl2_Aux_Hint
+{
+ EINA_INLIST;
+
+ int id;
+ const char *hint, *val;
+};
+
struct _Ecore_Wl2_Window
{
EINA_INLIST;
Ecore_Wl2_Window_Type type;
Eina_Inlist *subsurfs;
+ Eina_Inlist *supported_aux_hints;
Eina_Bool moving : 1;
Eina_Bool minimized : 1;