From: Gwanglim Lee Date: Thu, 9 Nov 2017 07:21:13 +0000 (+0900) Subject: ecore_wayland: merged with legacy ecore_wayland tizen features X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~1052 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=806db6df3fda496aa90bc326aafb938fca0dd699;p=platform%2Fupstream%2Fefl.git ecore_wayland: merged with legacy ecore_wayland tizen features Change-Id: Ia9ca688025ff0da40daf92ce9fbd739bde55597f --- diff --git a/src/Makefile_Ecore_Wayland.am b/src/Makefile_Ecore_Wayland.am index 6099f34..f13a795 100644 --- a/src/Makefile_Ecore_Wayland.am +++ b/src/Makefile_Ecore_Wayland.am @@ -16,6 +16,7 @@ lib/ecore_wayland/ecore_wl_output.c \ lib/ecore_wayland/ecore_wl_window.c \ lib/ecore_wayland/ecore_wl_subsurf.c \ lib/ecore_wayland/ecore_wl_private.h \ +lib/ecore_wayland/ecore_wl_tizen.c \ lib/ecore_wayland/subsurface-protocol.c \ lib/ecore_wayland/subsurface-client-protocol.h \ lib/ecore_wayland/ivi-application-protocol.c \ diff --git a/src/lib/ecore_wayland/Ecore_Wayland.h b/src/lib/ecore_wayland/Ecore_Wayland.h index 7db571e..f70216e 100644 --- a/src/lib/ecore_wayland/Ecore_Wayland.h +++ b/src/lib/ecore_wayland/Ecore_Wayland.h @@ -42,6 +42,9 @@ typedef struct _Ecore_Wl_Subsurf Ecore_Wl_Subsurf; /** @since 1.8 */ typedef struct _Ecore_Wl_Window Ecore_Wl_Window; # endif +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +typedef struct _Ecore_Wl_Input_Device Ecore_Wl_Input_Device; +// End of TIZEN_ONLY(20171109) /** * @deprecated Do Not Use * @since 1.7 @@ -50,13 +53,29 @@ typedef struct _Ecore_Wl_Dnd Ecore_Wl_Dnd; typedef struct _Ecore_Wl_Dnd_Source Ecore_Wl_Dnd_Source; typedef struct _Ecore_Wl_Dnd_Target Ecore_Wl_Dnd_Target; +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +typedef struct _Ecore_Wl_Aux_Hint Ecore_Wl_Aux_Hint; +// End of TIZEN_ONLY(20171109) typedef struct _Ecore_Wl_Event_Mouse_In Ecore_Wl_Event_Mouse_In; typedef struct _Ecore_Wl_Event_Mouse_Out Ecore_Wl_Event_Mouse_Out; typedef struct _Ecore_Wl_Event_Focus_In Ecore_Wl_Event_Focus_In; typedef struct _Ecore_Wl_Event_Focus_Out Ecore_Wl_Event_Focus_Out; typedef struct _Ecore_Wl_Event_Window_Configure Ecore_Wl_Event_Window_Configure; +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +typedef struct _Ecore_Wl_Event_Window_Activate Ecore_Wl_Event_Window_Activate; +typedef struct _Ecore_Wl_Event_Window_Deactivate Ecore_Wl_Event_Window_Deactivate; +typedef struct _Ecore_Wl_Event_Window_Visibility_Change Ecore_Wl_Event_Window_Visibility_Change; +typedef struct _Ecore_Wl_Event_Window_Pre_Visibility_Change Ecore_Wl_Event_Window_Pre_Visibility_Change; +typedef struct _Ecore_Wl_Event_Window_Rotate Ecore_Wl_Event_Window_Rotate; +typedef struct _Ecore_Wl_Event_Window_Show Ecore_Wl_Event_Window_Show; +typedef struct _Ecore_Wl_Event_Window_Hide Ecore_Wl_Event_Window_Hide; +typedef struct _Ecore_Wl_Event_Window_Lower Ecore_Wl_Event_Window_Lower; +// End of TIZEN_ONLY(20171109) typedef struct _Ecore_Wl_Event_Dnd_Enter Ecore_Wl_Event_Dnd_Enter; +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +typedef struct _Ecore_Wl_Event_Dnd_Selection Ecore_Wl_Event_Dnd_Selection; +// End of TIZEN_ONLY(20171109) typedef struct _Ecore_Wl_Event_Dnd_Position Ecore_Wl_Event_Dnd_Position; typedef struct _Ecore_Wl_Event_Dnd_Leave Ecore_Wl_Event_Dnd_Leave; typedef struct _Ecore_Wl_Event_Dnd_Drop Ecore_Wl_Event_Dnd_Drop; @@ -66,6 +85,59 @@ typedef struct _Ecore_Wl_Event_Data_Source_Send Ecore_Wl_Event_Data_Source_Send; typedef struct _Ecore_Wl_Event_Data_Source_Target Ecore_Wl_Event_Data_Source_Target; /** @since 1.12 */ typedef struct _Ecore_Wl_Event_Selection_Data_Ready Ecore_Wl_Event_Selection_Data_Ready; /** @since 1.7 */ typedef struct _Ecore_Wl_Event_Interfaces_Bound Ecore_Wl_Event_Interfaces_Bound; +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +typedef struct _Ecore_Wl_Event_Conformant_Change Ecore_Wl_Event_Conformant_Change; +typedef struct _Ecore_Wl_Event_Aux_Hint_Allowed Ecore_Wl_Event_Aux_Hint_Allowed; +typedef struct _Ecore_Wl_Event_Aux_Message Ecore_Wl_Event_Aux_Message; +typedef struct _Ecore_Wl_Event_Window_Iconify_State_Change Ecore_Wl_Event_Window_Iconify_State_Change; +typedef struct _Ecore_Wl_Event_Effect Ecore_Wl_Event_Effect_Start; +typedef struct _Ecore_Wl_Event_Effect Ecore_Wl_Event_Effect_End; +typedef struct _Ecore_Wl_Display Ecore_Wl_Display; +typedef struct _Ecore_Wl_Event_Output_Transform Ecore_Wl_Event_Output_Transform; +typedef struct _Ecore_Wl_Event_Ignore_Output_Transform Ecore_Wl_Event_Ignore_Output_Transform; +typedef struct _Ecore_Wl_Event_Global Ecore_Wl_Event_Global; +typedef struct _Ecore_Wl_Event_Keymap_Update Ecore_Wl_Event_Keymap_Update; +typedef struct _Ecore_Wl_Event_Indicator_Flick Ecore_Wl_Event_Indicator_Flick; +typedef struct _Ecore_Wl_Event_Clipboard_Data_Selected Ecore_Wl_Event_Clipboard_Data_Selected; +typedef struct _Ecore_Wl_Keygrab_Info Ecore_Wl_Keygrab_Info; +typedef struct _Ecore_Wl_Keyungrab_Info Ecore_Wl_Keyungrab_Info; +typedef struct _Ecore_Wl_Window_Keygrab_Info Ecore_Wl_Window_Keygrab_Info; + +struct _Ecore_Wl_Event_Global +{ + Ecore_Wl_Display *display; + Eina_Stringshare *interface; + unsigned int id, version; +}; + +struct _Ecore_Wl_Event_Output_Transform +{ + Ecore_Wl_Output *output; + int old_transform; + int transform; +}; + +struct _Ecore_Wl_Event_Ignore_Output_Transform +{ + Ecore_Wl_Window *win; + Eina_Bool ignore; +}; + +struct _Ecore_Wl_Event_Keymap_Update +{ + Ecore_Wl_Input *input; + struct xkb_keymap *keymap; +}; + +enum _Ecore_Wl_Window_Visibility_Type +{ + ECORE_WL_WINDOW_VISIBILITY_TYPE_UNKNOWN = 0, + ECORE_WL_WINDOW_VISIBILITY_TYPE_UNOBSCURED = 1, + ECORE_WL_WINDOW_VISIBILITY_TYPE_PARTIALLY_OBSCURED = 2, + ECORE_WL_WINDOW_VISIBILITY_TYPE_FULLY_OBSCURED = 3, + ECORE_WL_WINDOW_VISIBILITY_TYPE_PRE_UNOBSCURED = 4, +}; +// End of TIZEN_ONLY(20171109) enum _Ecore_Wl_Window_Type { @@ -76,8 +148,24 @@ enum _Ecore_Wl_Window_Type ECORE_WL_WINDOW_TYPE_TRANSIENT, ECORE_WL_WINDOW_TYPE_MENU, ECORE_WL_WINDOW_TYPE_DND, - ECORE_WL_WINDOW_TYPE_CUSTOM + ECORE_WL_WINDOW_TYPE_CUSTOM, +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland + ECORE_WL_WINDOW_TYPE_NOTIFICATION, + ECORE_WL_WINDOW_TYPE_UTILITY, + ECORE_WL_WINDOW_TYPE_DIALOG, + ECORE_WL_WINDOW_TYPE_DOCK, + ECORE_WL_WINDOW_TYPE_SPLASH, +// End of TIZEN_ONLY(20171109) +}; + +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +enum _Ecore_Wl_Window_Style +{ + ECORE_WL_WINDOW_STYLE_NONE, + ECORE_WL_WINDOW_STYLE_FULLSCREEN, + ECORE_WL_WINDOW_STYLE_MAXIMIZED, }; +// End of TIZEN_ONLY(20171109) enum _Ecore_Wl_Window_Buffer_Type { @@ -86,8 +174,85 @@ enum _Ecore_Wl_Window_Buffer_Type ECORE_WL_WINDOW_BUFFER_TYPE_SHM }; +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +//this enum for keyrouter and client window side +//keycode (8~255) +enum _Ecore_Wl_Window_Keygrab_Mode +{ + ECORE_WL_WINDOW_KEYGRAB_UNKNOWN = 0, /**< Unknown keygrab mode */ + ECORE_WL_WINDOW_KEYGRAB_SHARED = 1, /**< Getting the grabbed-key together with the other client windows */ + ECORE_WL_WINDOW_KEYGRAB_TOPMOST = 2, /**< Getting the grabbed-key only when window is top of the stack */ + ECORE_WL_WINDOW_KEYGRAB_OVERRIDE_EXCLUSIVE = 3, /**< Getting the grabbed-key exclusively regardless of window's position. Being overrided the grab by the other client window */ + ECORE_WL_WINDOW_KEYGRAB_EXCLUSIVE = 4 /**< Getting the grabbed-key exclusively regardless of window's position */ +}; + +enum _Ecore_Wl_Conformant_Part_Type +{ + ECORE_WL_INDICATOR_PART = 0, + ECORE_WL_KEYBOARD_PART = 1, + ECORE_WL_CLIPBOARD_PART = 2 +}; + +enum _Ecore_Wl_Virtual_Keyboard_State +{ + ECORE_WL_VIRTUAL_KEYBOARD_STATE_UNKNOWN = 0, + ECORE_WL_VIRTUAL_KEYBOARD_STATE_OFF, + ECORE_WL_VIRTUAL_KEYBOARD_STATE_ON, +}; + +enum _Ecore_Wl_Indicator_State +{ + ECORE_WL_INDICATOR_STATE_UNKNOWN = 0, + ECORE_WL_INDICATOR_STATE_OFF, + ECORE_WL_INDICATOR_STATE_ON +}; + +enum _Ecore_Wl_Clipboard_State +{ + ECORE_WL_CLIPBOARD_STATE_UNKNOWN = 0, + ECORE_WL_CLIPBOARD_STATE_OFF, + ECORE_WL_CLIPBOARD_STATE_ON +}; + +enum _Ecore_Wl_Indicator_Opacity_Mode +{ + ECORE_WL_INDICATOR_OPACITY_UNKNOWN = 0, + ECORE_WL_INDICATOR_OPAQUE, + ECORE_WL_INDICATOR_TRANSLUCENT, + ECORE_WL_INDICATOR_TRANSPARENT, + ECORE_WL_INDICATOR_BG_TRANSPARENT, +}; + +enum _Ecore_Wl_Indicator_Visible_Type +{ + ECORE_WL_INDICATOR_VISIBLE_TYPE_HIDDEN = 0, + ECORE_WL_INDICATOR_VISIBLE_TYPE_SHOWN, +}; + +enum _Ecore_Wl_Window_Stack_Mode +{ + ECORE_WL_WINDOW_STACK_NONE = 0, + ECORE_WL_WINDOW_STACK_ABOVE = 1, + ECORE_WL_WINDOW_STACK_BELOW = 2, +}; +// End of TIZEN_ONLY(20171109) + typedef enum _Ecore_Wl_Window_Type Ecore_Wl_Window_Type; +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +typedef enum _Ecore_Wl_Window_Style Ecore_Wl_Window_Style; +// End of TIZEN_ONLY(20171109) typedef enum _Ecore_Wl_Window_Buffer_Type Ecore_Wl_Window_Buffer_Type; +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +typedef enum _Ecore_Wl_Window_Keygrab_Mode Ecore_Wl_Window_Keygrab_Mode; +typedef enum _Ecore_Wl_Conformant_Part_Type Ecore_Wl_Conformant_Part_Type; +typedef enum _Ecore_Wl_Virtual_Keyboard_State Ecore_Wl_Virtual_Keyboard_State; +typedef enum _Ecore_Wl_Indicator_State Ecore_Wl_Indicator_State; +typedef enum _Ecore_Wl_Clipboard_State Ecore_Wl_Clipboard_State; +typedef enum _Ecore_Wl_Indicator_Opacity_Mode Ecore_Wl_Indicator_Opacity_Mode; +typedef enum _Ecore_Wl_Indicator_Visible_Type Ecore_Wl_Indicator_Visible_Type; +typedef enum _Ecore_Wl_Window_Stack_Mode Ecore_Wl_Window_Stack_Mode; +typedef enum _Ecore_Wl_Window_Visibility_Type Ecore_Wl_Window_Visibility_Type; +// End of TIZEN_ONLY(20171109) /** @since 1.7.6 */ struct _Ecore_Wl_Global @@ -146,6 +311,71 @@ struct _Ecore_Wl_Event_Window_Configure int edges; }; +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +struct _Ecore_Wl_Event_Window_Activate +{ + unsigned int win; + unsigned int parent_win; + unsigned int event_win; + Eina_Bool fobscured; +}; + +struct _Ecore_Wl_Event_Window_Deactivate +{ + unsigned int win; + unsigned int parent_win; + unsigned int event_win; + Eina_Bool fobscured; +}; + +struct _Ecore_Wl_Event_Window_Visibility_Change +{ + unsigned int win; + int fully_obscured; +}; + +struct _Ecore_Wl_Event_Window_Pre_Visibility_Change +{ + unsigned int win; + Ecore_Wl_Window_Visibility_Type type; + unsigned int option; +}; + +struct _Ecore_Wl_Event_Window_Rotate +{ + unsigned int win; + unsigned int angle; + int w, h; +}; + +struct _Ecore_Wl_Event_Window_Show +{ + unsigned int win; + unsigned int parent_win; + unsigned int event_win; + unsigned int data[4]; +}; + +struct _Ecore_Wl_Event_Window_Hide +{ + unsigned int win; + unsigned int parent_win; + unsigned int event_win; +}; + +struct _Ecore_Wl_Event_Window_Lower +{ + unsigned int win; + unsigned int timestamp; +}; + +struct _Ecore_Wl_Event_Dnd_Selection +{ + char **types; + int num_types; +}; +// End of TIZEN_ONLY(20171109) + struct _Ecore_Wl_Event_Dnd_Enter { unsigned int win, source; @@ -200,6 +430,14 @@ struct _Ecore_Wl_Event_Data_Source_Send int fd; }; +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +typedef enum +{ + ECORE_WL_SELECTION_CNP, + ECORE_WL_SELECTION_DND +} Ecore_Wl_Selection_Type; +// End of TIZEN_ONLY(20171109) + /** @since 1.12 */ struct _Ecore_Wl_Event_Data_Source_Target { @@ -212,6 +450,11 @@ struct _Ecore_Wl_Event_Selection_Data_Ready char *data; int len; Eina_Bool done; +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland + char **types; + int num_types; + Ecore_Wl_Selection_Type sel_type; +// End of TIZEN_ONLY(20171109) }; struct _Ecore_Wl_Event_Interfaces_Bound @@ -223,8 +466,78 @@ struct _Ecore_Wl_Event_Interfaces_Bound Eina_Bool seat : 1; Eina_Bool data_device_manager : 1; Eina_Bool subcompositor : 1; +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland + Eina_Bool policy : 1; + Eina_Bool policy_ext : 1; +// End of TIZEN_ONLY(20171109) +}; + +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +struct _Ecore_Wl_Event_Conformant_Change +{ + unsigned int win; + Ecore_Wl_Conformant_Part_Type part_type; + Eina_Bool state; +}; + +struct _Ecore_Wl_Event_Aux_Hint_Allowed +{ + unsigned int win; + int id; +}; + +struct _Ecore_Wl_Event_Aux_Message +{ + int win; + const char *key; + const char *val; + Eina_List *options; +}; + +struct _Ecore_Wl_Event_Window_Iconify_State_Change +{ + unsigned int win; + int iconified; + int force; }; +struct _Ecore_Wl_Event_Effect +{ + int win; + unsigned int type; +}; + +struct _Ecore_Wl_Event_Indicator_Flick +{ + unsigned int win; + int type; +}; + +struct _Ecore_Wl_Event_Clipboard_Data_Selected +{ + unsigned int win; +}; + +struct _Ecore_Wl_Keygrab_Info +{ + int key; + int mode; + int err; +}; + +struct _Ecore_Wl_Keyungrab_Info +{ + int key; + int err; +}; + +struct _Ecore_Wl_Window_Keygrab_Info +{ + char *key; + Ecore_Wl_Window_Keygrab_Mode mode; +}; +// End of TIZEN_ONLY(20171109) + /** * @file * @brief Ecore functions for dealing with the Wayland window system. @@ -249,6 +562,16 @@ EAPI extern int ECORE_WL_EVENT_MOUSE_OUT; EAPI extern int ECORE_WL_EVENT_FOCUS_IN; EAPI extern int ECORE_WL_EVENT_FOCUS_OUT; EAPI extern int ECORE_WL_EVENT_WINDOW_CONFIGURE; +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +EAPI extern int ECORE_WL_EVENT_WINDOW_ACTIVATE; +EAPI extern int ECORE_WL_EVENT_WINDOW_DEACTIVATE; +EAPI extern int ECORE_WL_EVENT_WINDOW_VISIBILITY_CHANGE; +EAPI extern int ECORE_WL_EVENT_WINDOW_PRE_VISIBILITY_CHANGE; +EAPI extern int ECORE_WL_EVENT_WINDOW_SHOW; +EAPI extern int ECORE_WL_EVENT_WINDOW_HIDE; +EAPI extern int ECORE_WL_EVENT_WINDOW_LOWER; +EAPI extern int ECORE_WL_EVENT_WINDOW_ROTATE; +// End of TIZEN_ONLY(20171109) EAPI extern int ECORE_WL_EVENT_DND_ENTER; EAPI extern int ECORE_WL_EVENT_DND_POSITION; EAPI extern int ECORE_WL_EVENT_DND_LEAVE; @@ -260,6 +583,21 @@ EAPI extern int ECORE_WL_EVENT_DATA_SOURCE_SEND; /** @since 1.7 */ EAPI extern int ECORE_WL_EVENT_DATA_SOURCE_CANCELLED; /** @since 1.7 */ EAPI extern int ECORE_WL_EVENT_SELECTION_DATA_READY; /** @since 1.7 */ EAPI extern int ECORE_WL_EVENT_INTERFACES_BOUND; +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +EAPI extern int ECORE_WL_EVENT_CONFORMANT_CHANGE; +EAPI extern int ECORE_WL_EVENT_AUX_HINT_ALLOWED; +EAPI extern int ECORE_WL_EVENT_AUX_MESSAGE; +EAPI extern int ECORE_WL_EVENT_WINDOW_ICONIFY_STATE_CHANGE; +EAPI extern int ECORE_WL_EVENT_EFFECT_START; +EAPI extern int ECORE_WL_EVENT_EFFECT_END; +EAPI extern int ECORE_WL_EVENT_OUTPUT_TRANSFORM; +EAPI extern int ECORE_WL_EVENT_IGNORE_OUTPUT_TRANSFORM; +EAPI extern int ECORE_WL_EVENT_GLOBAL_ADDED; +EAPI extern int ECORE_WL_EVENT_GLOBAL_REMOVED; +EAPI extern int ECORE_WL_EVENT_KEYMAP_UPDATE; +EAPI extern int ECORE_WL_EVENT_INDICATOR_FLICK; +EAPI extern int ECORE_WL_EVENT_CLIPBOARD_DATA_SELECTED; +// End of TIZEN_ONLY(20171109) /** * @defgroup Ecore_Wl_Init_Group Wayland Library Init and Shutdown Functions @@ -436,6 +774,10 @@ EAPI struct wl_seat *ecore_wl_input_seat_get(Ecore_Wl_Input *input); EAPI Eina_Inlist *ecore_wl_outputs_get(void); +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +EAPI Ecore_Wl_Output * ecore_wl_window_output_find(Ecore_Wl_Window *window); +EAPI int ecore_wl_output_transform_get(Ecore_Wl_Output *output); +// End of TIZEN_ONLY(20171109) /** * @ingroup Ecore_Wl_Input_Group * @since 1.12 @@ -583,23 +925,42 @@ EAPI void ecore_wl_window_hide(Ecore_Wl_Window *win); * @since 1.2 */ EAPI void ecore_wl_window_raise(Ecore_Wl_Window *win); +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +EAPI void ecore_wl_window_lower(Ecore_Wl_Window *win); +EAPI void ecore_wl_window_activate(Ecore_Wl_Window *win); +// End of TIZEN_ONLY(20171109) EAPI void ecore_wl_window_maximized_set(Ecore_Wl_Window *win, Eina_Bool maximized); EAPI Eina_Bool ecore_wl_window_maximized_get(Ecore_Wl_Window *win); EAPI void ecore_wl_window_fullscreen_set(Ecore_Wl_Window *win, Eina_Bool fullscreen); EAPI Eina_Bool ecore_wl_window_fullscreen_get(Ecore_Wl_Window *win); EAPI void ecore_wl_window_transparent_set(Ecore_Wl_Window *win, Eina_Bool transparent); EAPI Eina_Bool ecore_wl_window_transparent_get(Ecore_Wl_Window *win); +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +EAPI void ecore_wl_window_buffer_transform_set(Ecore_Wl_Window *win, int buffer_transform); +// End of TIZEN_ONLY(20171109) EAPI void ecore_wl_window_update_size(Ecore_Wl_Window *win, int w, int h); EAPI void ecore_wl_window_update_location(Ecore_Wl_Window *win, int x, int y); EAPI struct wl_surface *ecore_wl_window_surface_get(Ecore_Wl_Window *win); EAPI struct wl_shell_surface *ecore_wl_window_shell_surface_get(Ecore_Wl_Window *win); EAPI struct xdg_surface *ecore_wl_window_xdg_surface_get(Ecore_Wl_Window *win); /** @since 1.12 */ EAPI Ecore_Wl_Window *ecore_wl_window_find(unsigned int id); +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +EAPI Ecore_Wl_Window_Type ecore_wl_window_type_get(Ecore_Wl_Window *win); +// End of TIZEN_ONLY(20171109) EAPI void ecore_wl_window_type_set(Ecore_Wl_Window *win, Ecore_Wl_Window_Type type); EAPI void ecore_wl_window_pointer_set(Ecore_Wl_Window *win, struct wl_surface *surface, int hot_x, int hot_y); +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +EAPI Eina_Bool ecore_wl_window_pointer_warp(Ecore_Wl_Window *win, int x, int y); +// End of TIZEN_ONLY(20171109) EAPI void ecore_wl_window_cursor_from_name_set(Ecore_Wl_Window *win, const char *cursor_name); EAPI void ecore_wl_window_cursor_default_restore(Ecore_Wl_Window *win); EAPI void ecore_wl_window_parent_set(Ecore_Wl_Window *win, Ecore_Wl_Window *parent); +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +EAPI void ecore_wl_window_position_set(Ecore_Wl_Window *win, int x, int y); +EAPI void ecore_wl_window_focus_skip_set(Ecore_Wl_Window *win, Eina_Bool focus_skip); +EAPI void ecore_wl_window_role_set(Ecore_Wl_Window *win, const char *role); +EAPI int ecore_wl_window_active_angle_get(Ecore_Wl_Window *win); +// End of TIZEN_ONLY(20171109) /** * @ingroup Ecore_Wl_Window_Group @@ -612,6 +973,9 @@ EAPI void ecore_wl_window_parent_set(Ecore_Wl_Window *win, Ecore_Wl_Window *pare EAPI void ecore_wl_window_iconified_set(Ecore_Wl_Window *win, Eina_Bool iconified); EAPI Eina_Bool ecore_wl_window_iconified_get(Ecore_Wl_Window *win); +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +EAPI void ecore_wl_window_iconify_state_update(Ecore_Wl_Window *win, Eina_Bool iconified, Eina_Bool send_event); +// End of TIZEN_ONLY(20171109) EAPI int ecore_wl_window_id_get(Ecore_Wl_Window *win); EAPI void ecore_wl_window_title_set(Ecore_Wl_Window *win, const char *title); @@ -620,6 +984,9 @@ EAPI int ecore_wl_window_surface_id_get(Ecore_Wl_Window *win); EAPI Ecore_Wl_Input *ecore_wl_window_keyboard_get(Ecore_Wl_Window *win); +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +EAPI void ecore_wl_window_stack_mode_set(Ecore_Wl_Window *win, Ecore_Wl_Window_Stack_Mode mode); +// End of TIZEN_ONLY(20171109) /** * @ingroup Ecore_Wl_Window_Group * @brief Returns a wl_surface with no association to any wl_shell_surface. @@ -645,6 +1012,12 @@ EAPI Eina_Bool ecore_wl_window_alpha_get(Ecore_Wl_Window *win); */ EAPI Ecore_Wl_Window *ecore_wl_window_surface_find(struct wl_surface *surface); +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +EAPI void ecore_wl_window_input_rect_set(Ecore_Wl_Window *win, Eina_Rectangle *input_rect); +EAPI void ecore_wl_window_input_rect_add(Ecore_Wl_Window *win, Eina_Rectangle *input_rect); +EAPI void ecore_wl_window_input_rect_subtract(Ecore_Wl_Window *win, Eina_Rectangle *input_rect); +// End of TIZEN_ONLY(20171109) + /** * @ingroup Ecore_Wl_Window_Group * @brief Sets the input region of the Ecore_Wl_Window. @@ -817,6 +1190,10 @@ EAPI struct wl_array *ecore_wl_dnd_drag_types_get(Ecore_Wl_Input *input); */ EAPI void ecore_wl_server_mode_set(Eina_Bool on); +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +EAPI Eina_Bool ecore_wl_server_mode_get(void); +// End of TIZEN_ONLY(20171109) + /** * @defgroup Ecore_Wl_Subsurf Functions to manipulate subsurfaces. * @ingroup Ecore_Wl_Group @@ -973,6 +1350,56 @@ EAPI void ecore_wl_subsurf_sync_set(Ecore_Wl_Subsurf *ess, Eina_Bool val); */ EAPI void ecore_wl_subsurf_opaque_region_set(Ecore_Wl_Subsurf *ess, int x, int y, int w, int h); +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +EAPI Eina_Bool ecore_wl_window_keygrab_set(Ecore_Wl_Window *win, const char *key, int mod, int not_mod, int priority, Ecore_Wl_Window_Keygrab_Mode grab_mode); +EAPI Eina_Bool ecore_wl_window_keygrab_unset(Ecore_Wl_Window *win, const char *key, int mod, int any_mod); +EAPI Eina_List *ecore_wl_window_keygrab_list_set(Ecore_Wl_Window *win, Eina_List *infos); +EAPI Eina_List *ecore_wl_window_keygrab_list_unset(Ecore_Wl_Window *win, Eina_List *infos); + +EAPI void ecore_wl_window_conformant_set(Ecore_Wl_Window *win, unsigned int is_conformant); +EAPI Eina_Bool ecore_wl_window_conformant_get(Ecore_Wl_Window *win); + +EAPI void ecore_wl_window_indicator_geometry_set(Ecore_Wl_Window *win, int x, int y, int w, int h); +EAPI Eina_Bool ecore_wl_window_indicator_geometry_get(Ecore_Wl_Window *win, int *x, int *y, int *w, int *h); +EAPI void ecore_wl_window_indicator_state_set(Ecore_Wl_Window *win, Ecore_Wl_Indicator_State state); +EAPI Ecore_Wl_Indicator_State ecore_wl_window_indicator_state_get(Ecore_Wl_Window *win); +EAPI void ecore_wl_window_indicator_opacity_set(Ecore_Wl_Window *win, Ecore_Wl_Indicator_Opacity_Mode mode); +EAPI Ecore_Wl_Indicator_Opacity_Mode ecore_wl_window_indicator_opacity_get(Ecore_Wl_Window *win); +EAPI void ecore_wl_indicator_visible_type_set(Ecore_Wl_Window *win, Ecore_Wl_Indicator_Visible_Type type); +EAPI Ecore_Wl_Indicator_Visible_Type ecore_wl_indicator_visible_type_get(Ecore_Wl_Window *win); + +EAPI void ecore_wl_window_clipboard_geometry_set(Ecore_Wl_Window *win, int x, int y, int w, int h); +EAPI Eina_Bool ecore_wl_window_clipboard_geometry_get(Ecore_Wl_Window *win, int *x, int *y, int *w, int *h); +EAPI void ecore_wl_window_clipboard_state_set(Ecore_Wl_Window *win, Ecore_Wl_Clipboard_State state); +EAPI Ecore_Wl_Clipboard_State ecore_wl_window_clipboard_state_get(Ecore_Wl_Window *win); +EAPI void ecore_wl_clipboard_show(Ecore_Wl_Window *win); +EAPI void ecore_wl_clipboard_hide(Ecore_Wl_Window *win); +EAPI Eina_Bool ecore_wl_clipboard_data_only_set(Eina_Bool data_only); + +EAPI void ecore_wl_window_keyboard_geometry_set(Ecore_Wl_Window *win, int x, int y, int w, int h); +EAPI Eina_Bool ecore_wl_window_keyboard_geometry_get(Ecore_Wl_Window *win, int *x, int *y, int *w, int *h); +EAPI void ecore_wl_window_keyboard_state_set(Ecore_Wl_Window *win, Ecore_Wl_Virtual_Keyboard_State state); +EAPI Ecore_Wl_Virtual_Keyboard_State ecore_wl_window_keyboard_state_get(Ecore_Wl_Window *win); + +EAPI void ecore_wl_window_rotation_preferred_rotation_set(Ecore_Wl_Window *win, int rot); +EAPI void ecore_wl_window_rotation_available_rotations_set(Ecore_Wl_Window *win, const int *rots, unsigned int count); +EAPI void ecore_wl_window_rotation_change_done_send(Ecore_Wl_Window *win); +EAPI void ecore_wl_window_rotation_geometry_set(Ecore_Wl_Window *win, int rot, int x, int y, int w, int h); +EAPI void ecore_wl_window_rotation_changed_callback_set(Ecore_Wl_Window *win, void *data, void (*func)(Ecore_Wl_Window *win, int rot, Eina_Bool resize, int w, int h, void *data)); + +EAPI Eina_List * ecore_wl_window_aux_hints_supported_get(Ecore_Wl_Window *win); +EAPI void ecore_wl_window_aux_hint_add(Ecore_Wl_Window *win, int id, const char *hint, const char *val); +EAPI void ecore_wl_window_aux_hint_change(Ecore_Wl_Window *win, int id, const char *val); +EAPI void ecore_wl_window_aux_hint_del(Ecore_Wl_Window *win, int id); + +EAPI void ecore_wl_window_floating_mode_set(Ecore_Wl_Window *win, Eina_Bool floating); +EAPI void ecore_wl_window_geometry_get(Ecore_Wl_Window *win, int *x, int *y, int *w, int *h); +EAPI Ecore_Wl_Input * ecore_wl_window_input_get(Ecore_Wl_Window *win); + +EAPI Eina_Bool ecore_wl_window_ignore_output_transform_get(Ecore_Wl_Window *win); +EAPI void ecore_wl_window_video_has(Ecore_Wl_Window *win, Eina_Bool has); +// End of TIZEN_ONLY(20171109) + #ifdef __cplusplus } #endif diff --git a/src/lib/ecore_wayland/ecore_wl_tizen.c b/src/lib/ecore_wayland/ecore_wl_tizen.c new file mode 100644 index 0000000..d768bee --- /dev/null +++ b/src/lib/ecore_wayland/ecore_wl_tizen.c @@ -0,0 +1,385 @@ +// TIZEN_ONLY(20171109): merged with legacy ecore_wayland +#include "ecore_wl_private.h" + +/* external variables */ +EAPI int ECORE_WL_EVENT_WINDOW_ACTIVATE = 0; +EAPI int ECORE_WL_EVENT_WINDOW_DEACTIVATE = 0; +EAPI int ECORE_WL_EVENT_WINDOW_VISIBILITY_CHANGE = 0; +EAPI int ECORE_WL_EVENT_WINDOW_PRE_VISIBILITY_CHANGE = 0; +EAPI int ECORE_WL_EVENT_WINDOW_SHOW = 0; +EAPI int ECORE_WL_EVENT_WINDOW_HIDE = 0; +EAPI int ECORE_WL_EVENT_WINDOW_LOWER = 0; +EAPI int ECORE_WL_EVENT_WINDOW_ROTATE = 0; +EAPI int ECORE_WL_EVENT_CONFORMANT_CHANG = 0; +EAPI int ECORE_WL_EVENT_AUX_HINT_ALLOWED = 0; +EAPI int ECORE_WL_EVENT_AUX_MESSAGE = 0; +EAPI int ECORE_WL_EVENT_WINDOW_ICONIFY_STATE_CHANGE = 0; +EAPI int ECORE_WL_EVENT_EFFECT_START = 0; +EAPI int ECORE_WL_EVENT_EFFECT_END = 0; +EAPI int ECORE_WL_EVENT_OUTPUT_TRANSFORM = 0; +EAPI int ECORE_WL_EVENT_IGNORE_OUTPUT_TRANSFORM = 0; +EAPI int ECORE_WL_EVENT_GLOBAL_ADDED = 0; +EAPI int ECORE_WL_EVENT_GLOBAL_REMOVED = 0; +EAPI int ECORE_WL_EVENT_KEYMAP_UPDATE = 0; +EAPI int ECORE_WL_EVENT_INDICATOR_FLICK = 0; +EAPI int ECORE_WL_EVENT_CLIPBOARD_DATA_SELECTED = 0; + +EAPI Ecore_Wl_Output * +ecore_wl_window_output_find(Ecore_Wl_Window *window EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return NULL; +} + +EAPI int +ecore_wl_output_transform_get(Ecore_Wl_Output *output EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return -1; +} + +EAPI void +ecore_wl_window_lower(Ecore_Wl_Window *win EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI void +ecore_wl_window_activate(Ecore_Wl_Window *win EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI void +ecore_wl_window_buffer_transform_set(Ecore_Wl_Window *win EINA_UNUSED, int buffer_transform EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI Ecore_Wl_Window_Type +ecore_wl_window_type_get(Ecore_Wl_Window *win EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return ECORE_WL_WINDOW_TYPE_NONE; +} + +EAPI Eina_Bool +ecore_wl_window_pointer_warp(Ecore_Wl_Window *win EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return EINA_FALSE; +} + +EAPI void +ecore_wl_window_position_set(Ecore_Wl_Window *win EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI void +ecore_wl_window_focus_skip_set(Ecore_Wl_Window *win EINA_UNUSED, Eina_Bool focus_skip EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI void +ecore_wl_window_role_set(Ecore_Wl_Window *win EINA_UNUSED, const char *role EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI int +ecore_wl_window_active_angle_get(Ecore_Wl_Window *win EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return -1; +} + +EAPI void +ecore_wl_window_iconify_state_update(Ecore_Wl_Window *win EINA_UNUSED, Eina_Bool iconified EINA_UNUSED, Eina_Bool send_event EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI void +ecore_wl_window_stack_mode_set(Ecore_Wl_Window *win EINA_UNUSED, Ecore_Wl_Window_Stack_Mode mode EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI void +ecore_wl_window_input_rect_set(Ecore_Wl_Window *win EINA_UNUSED, Eina_Rectangle *input_rect EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI void +ecore_wl_window_input_rect_add(Ecore_Wl_Window *win EINA_UNUSED, Eina_Rectangle *input_rect EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI void +ecore_wl_window_input_rect_subtract(Ecore_Wl_Window *win EINA_UNUSED, Eina_Rectangle *input_rect EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI Eina_Bool +ecore_wl_server_mode_get(void) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return EINA_FALSE; +} + +EAPI Eina_Bool +ecore_wl_window_keygrab_set(Ecore_Wl_Window *win EINA_UNUSED, const char *key EINA_UNUSED, int mod EINA_UNUSED, int not_mod EINA_UNUSED, int priority EINA_UNUSED, Ecore_Wl_Window_Keygrab_Mode grab_mode EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return EINA_FALSE; +} + +EAPI Eina_Bool +ecore_wl_window_keygrab_unset(Ecore_Wl_Window *win EINA_UNUSED, const char *key EINA_UNUSED, int mod EINA_UNUSED, int any_mod EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return EINA_FALSE; +} + +EAPI Eina_List * +ecore_wl_window_keygrab_list_set(Ecore_Wl_Window *win EINA_UNUSED, Eina_List *infos EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return NULL; +} + +EAPI Eina_List * +ecore_wl_window_keygrab_list_unset(Ecore_Wl_Window *win EINA_UNUSED, Eina_List *infos EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return NULL; +} + +EAPI void +ecore_wl_window_conformant_set(Ecore_Wl_Window *win EINA_UNUSED, unsigned int is_conformant EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI Eina_Bool +ecore_wl_window_conformant_get(Ecore_Wl_Window *win EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return EINA_FALSE; +} + +EAPI void +ecore_wl_window_indicator_geometry_set(Ecore_Wl_Window *win EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI Eina_Bool +ecore_wl_window_indicator_geometry_get(Ecore_Wl_Window *win EINA_UNUSED, int *x EINA_UNUSED, int *y EINA_UNUSED, int *w EINA_UNUSED, int *h EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return EINA_FALSE; +} + +EAPI void +ecore_wl_window_indicator_state_set(Ecore_Wl_Window *win EINA_UNUSED, Ecore_Wl_Indicator_State state EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI Ecore_Wl_Indicator_State +ecore_wl_window_indicator_state_get(Ecore_Wl_Window *win EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return ECORE_WL_INDICATOR_STATE_UNKNOWN; +} + +EAPI void +ecore_wl_window_indicator_opacity_set(Ecore_Wl_Window *win EINA_UNUSED, Ecore_Wl_Indicator_Opacity_Mode mode EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI Ecore_Wl_Indicator_Opacity_Mode +ecore_wl_window_indicator_opacity_get(Ecore_Wl_Window *win EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return ECORE_WL_INDICATOR_OPACITY_UNKNOWN; +} + +EAPI void +ecore_wl_indicator_visible_type_set(Ecore_Wl_Window *win EINA_UNUSED, Ecore_Wl_Indicator_Visible_Type type EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI Ecore_Wl_Indicator_Visible_Type +ecore_wl_indicator_visible_type_get(Ecore_Wl_Window *win EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return ECORE_WL_INDICATOR_VISIBLE_TYPE_HIDDEN; +} + +EAPI void +ecore_wl_window_clipboard_geometry_set(Ecore_Wl_Window *win EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI Eina_Bool +ecore_wl_window_clipboard_geometry_get(Ecore_Wl_Window *win EINA_UNUSED, int *x EINA_UNUSED, int *y EINA_UNUSED, int *w EINA_UNUSED, int *h EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return EINA_FALSE; +} + +EAPI void +ecore_wl_window_clipboard_state_set(Ecore_Wl_Window *win EINA_UNUSED, Ecore_Wl_Clipboard_State state EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI Ecore_Wl_Clipboard_State +ecore_wl_window_clipboard_state_get(Ecore_Wl_Window *win EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return ECORE_WL_CLIPBOARD_STATE_UNKNOWN; +} + +EAPI void +ecore_wl_clipboard_show(Ecore_Wl_Window *win EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI void +ecore_wl_clipboard_hide(Ecore_Wl_Window *win EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI Eina_Bool +ecore_wl_clipboard_data_only_set(Eina_Bool data_only EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return EINA_FALSE; +} + +EAPI void +ecore_wl_window_keyboard_geometry_set(Ecore_Wl_Window *win EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI Eina_Bool +ecore_wl_window_keyboard_geometry_get(Ecore_Wl_Window *win EINA_UNUSED, int *x EINA_UNUSED, int *y EINA_UNUSED, int *w EINA_UNUSED, int *h EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return EINA_FALSE; +} + +EAPI void +ecore_wl_window_keyboard_state_set(Ecore_Wl_Window *win EINA_UNUSED, Ecore_Wl_Virtual_Keyboard_State state EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI Ecore_Wl_Virtual_Keyboard_State +ecore_wl_window_keyboard_state_get(Ecore_Wl_Window *win EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return ECORE_WL_VIRTUAL_KEYBOARD_STATE_UNKNOWN; +} + +EAPI void +ecore_wl_window_rotation_preferred_rotation_set(Ecore_Wl_Window *win EINA_UNUSED, int rot EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI void +ecore_wl_window_rotation_available_rotations_set(Ecore_Wl_Window *win EINA_UNUSED, const int *rots EINA_UNUSED, unsigned int count EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI void +ecore_wl_window_rotation_change_done_send(Ecore_Wl_Window *win EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI void +ecore_wl_window_rotation_geometry_set(Ecore_Wl_Window *win EINA_UNUSED, int rot EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI void +ecore_wl_window_rotation_changed_callback_set(Ecore_Wl_Window *win EINA_UNUSED, void *data EINA_UNUSED, void (*func)(Ecore_Wl_Window *win, int rot, Eina_Bool resize, int w, int h, void *data) EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI Eina_List * +ecore_wl_window_aux_hints_supported_get(Ecore_Wl_Window *win EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return NULL; +} + +EAPI void +ecore_wl_window_aux_hint_add(Ecore_Wl_Window *win EINA_UNUSED, int id EINA_UNUSED, const char *hint EINA_UNUSED, const char *val EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI void +ecore_wl_window_aux_hint_change(Ecore_Wl_Window *win EINA_UNUSED, int id EINA_UNUSED, const char *val EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI void +ecore_wl_window_aux_hint_del(Ecore_Wl_Window *win EINA_UNUSED, int id EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI void +ecore_wl_window_floating_mode_set(Ecore_Wl_Window *win EINA_UNUSED, Eina_Bool floating EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI void +ecore_wl_window_geometry_get(Ecore_Wl_Window *win EINA_UNUSED, int *x EINA_UNUSED, int *y EINA_UNUSED, int *w EINA_UNUSED, int *h EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} + +EAPI Ecore_Wl_Input * +ecore_wl_window_input_get(Ecore_Wl_Window *win EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return NULL; +} + +EAPI Eina_Bool +ecore_wl_window_ignore_output_transform_get(Ecore_Wl_Window *win EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); + return EINA_FALSE; +} + +EAPI void +ecore_wl_window_video_has(Ecore_Wl_Window *win EINA_UNUSED, Eina_Bool has EINA_UNUSED) +{ + EINA_LOG_ERR("Deprecated function. Plz use ecore_wl2."); +} +// End of TIZEN_ONLY(20171109)