forked from enlightenment/efl
at least it builds now with eina_bool changes and randr changes.
woefully incomplete tho. SVN revision: 52866
This commit is contained in:
parent
ac12734be2
commit
acb667de11
|
@ -1249,7 +1249,7 @@ _ecore_x_window_manage_error(void *data __UNUSED__)
|
|||
} /* _ecore_x_window_manage_error */
|
||||
|
||||
/* FIXME: round trip */
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_window_manage(Ecore_X_Window window)
|
||||
{
|
||||
xcb_get_window_attributes_cookie_t cookie_attr;
|
||||
|
@ -1310,7 +1310,7 @@ ecore_x_window_manage(Ecore_X_Window window)
|
|||
return 1;
|
||||
} /* ecore_x_window_manage */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_pointer_control_set(int accel_num,
|
||||
int accel_denom,
|
||||
int threshold)
|
||||
|
@ -1341,7 +1341,7 @@ ecore_x_pointer_control_get_fetch(void)
|
|||
_ecore_xcb_reply_cache(reply);
|
||||
} /* ecore_x_pointer_control_get_fetch */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_pointer_control_get(int *accel_num,
|
||||
int *accel_denom,
|
||||
int *threshold)
|
||||
|
@ -1373,7 +1373,7 @@ ecore_x_pointer_control_get(int *accel_num,
|
|||
return 1;
|
||||
} /* ecore_x_pointer_control_get */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_pointer_mapping_set(unsigned char *map,
|
||||
int nmap)
|
||||
{
|
||||
|
@ -1401,7 +1401,7 @@ ecore_x_pointer_mapping_get_fetch(void)
|
|||
_ecore_xcb_reply_cache(reply);
|
||||
} /* ecore_x_pointer_mapping_get_fetch */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_pointer_mapping_get(unsigned char *map,
|
||||
int nmap)
|
||||
{
|
||||
|
@ -1426,7 +1426,7 @@ ecore_x_pointer_mapping_get(unsigned char *map,
|
|||
return 1;
|
||||
} /* ecore_x_pointer_mapping_get */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_pointer_grab(Ecore_X_Window window)
|
||||
{
|
||||
xcb_grab_pointer_cookie_t cookie;
|
||||
|
@ -1451,7 +1451,7 @@ ecore_x_pointer_grab(Ecore_X_Window window)
|
|||
return 1;
|
||||
} /* ecore_x_pointer_grab */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_pointer_confine_grab(Ecore_X_Window window)
|
||||
{
|
||||
xcb_grab_pointer_cookie_t cookie;
|
||||
|
@ -1482,7 +1482,7 @@ ecore_x_pointer_ungrab(void)
|
|||
xcb_ungrab_pointer(_ecore_xcb_conn, XCB_CURRENT_TIME);
|
||||
} /* ecore_x_pointer_ungrab */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_pointer_warp(Ecore_X_Window window,
|
||||
int x,
|
||||
int y)
|
||||
|
@ -1492,7 +1492,7 @@ ecore_x_pointer_warp(Ecore_X_Window window,
|
|||
return 1;
|
||||
} /* ecore_x_pointer_warp */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_keyboard_grab(Ecore_X_Window window)
|
||||
{
|
||||
xcb_grab_keyboard_cookie_t cookie;
|
||||
|
@ -1792,7 +1792,7 @@ ecore_x_window_key_ungrab(Ecore_X_Window window,
|
|||
*
|
||||
* @return !0 on success.
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_client_message32_send(Ecore_X_Window window,
|
||||
Ecore_X_Atom type,
|
||||
Ecore_X_Event_Mask mask,
|
||||
|
@ -1829,7 +1829,7 @@ ecore_x_client_message32_send(Ecore_X_Window window,
|
|||
*
|
||||
* @return !0 on success.
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_client_message8_send(Ecore_X_Window window,
|
||||
Ecore_X_Atom type,
|
||||
const void *data,
|
||||
|
@ -1853,7 +1853,7 @@ ecore_x_client_message8_send(Ecore_X_Window window,
|
|||
} /* ecore_x_client_message8_send */
|
||||
|
||||
/* FIXME: round trip */
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_mouse_move_send(Ecore_X_Window window,
|
||||
int x,
|
||||
int y)
|
||||
|
@ -1899,7 +1899,7 @@ ecore_x_mouse_move_send(Ecore_X_Window window,
|
|||
} /* ecore_x_mouse_move_send */
|
||||
|
||||
/* FIXME: round trip */
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_mouse_down_send(Ecore_X_Window window,
|
||||
int x,
|
||||
int y,
|
||||
|
@ -1946,7 +1946,7 @@ ecore_x_mouse_down_send(Ecore_X_Window window,
|
|||
} /* ecore_x_mouse_down_send */
|
||||
|
||||
/* FIXME: round trip */
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_mouse_up_send(Ecore_X_Window window,
|
||||
int x,
|
||||
int y,
|
||||
|
|
|
@ -55,7 +55,7 @@ _ecore_x_composite_init_finalize(void)
|
|||
* or greater, 0 otherwise.
|
||||
* @ingroup Ecore_X_Composite_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_composite_query(void)
|
||||
{
|
||||
#ifdef ECORE_XCB_COMPOSITE
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
extern int _ecore_xcb_xcursor;
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_cursor_color_supported_get(void)
|
||||
{
|
||||
return _ecore_xcb_xcursor;
|
||||
|
|
|
@ -54,7 +54,7 @@ _ecore_x_damage_init_finalize(void)
|
|||
* 0 otherwise.
|
||||
* @ingroup Ecore_X_Damage_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_damage_query(void)
|
||||
{
|
||||
#ifdef ECORE_XCB_DAMAGE
|
||||
|
|
|
@ -65,7 +65,7 @@ _ecore_x_dnd_shutdown(void)
|
|||
|
||||
EAPI void
|
||||
ecore_x_dnd_aware_set(Ecore_X_Window window,
|
||||
int on)
|
||||
Eina_Bool on)
|
||||
{
|
||||
Ecore_X_Atom prop_data = ECORE_X_DND_VERSION;
|
||||
|
||||
|
@ -180,7 +180,7 @@ ecore_x_dnd_type_get_fetch(void)
|
|||
* ecore_x_dnd_type_get_prefetch(), which sends the GetProperty request,
|
||||
* then ecore_x_dnd_type_get_fetch(), which gets the reply.
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_dnd_type_isset(Ecore_X_Window window,
|
||||
const char *type)
|
||||
{
|
||||
|
@ -246,7 +246,7 @@ ecore_x_dnd_type_isset(Ecore_X_Window window,
|
|||
EAPI void
|
||||
ecore_x_dnd_type_set(Ecore_X_Window window,
|
||||
const char *type,
|
||||
int on)
|
||||
Eina_Bool on)
|
||||
{
|
||||
xcb_intern_atom_cookie_t cookie;
|
||||
xcb_intern_atom_reply_t *reply;
|
||||
|
@ -477,7 +477,7 @@ ecore_x_dnd_begin_fetch(void)
|
|||
* ecore_x_dnd_begin_prefetch(), which sends the GetProperty request,
|
||||
* then ecore_x_dnd_begin_fetch(), which gets the reply.
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_dnd_begin(Ecore_X_Window source,
|
||||
unsigned char *data,
|
||||
int size)
|
||||
|
@ -507,7 +507,7 @@ ecore_x_dnd_begin(Ecore_X_Window source,
|
|||
return 1;
|
||||
} /* ecore_x_dnd_begin */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_dnd_drop(void)
|
||||
{
|
||||
uint8_t status = 0;
|
||||
|
@ -555,8 +555,8 @@ ecore_x_dnd_drop(void)
|
|||
} /* ecore_x_dnd_drop */
|
||||
|
||||
EAPI void
|
||||
ecore_x_dnd_send_status(int will_accept,
|
||||
int suppress,
|
||||
ecore_x_dnd_send_status(Eina_Bool will_accept,
|
||||
Eina_Bool suppress,
|
||||
Ecore_X_Rectangle rectangle,
|
||||
Ecore_X_Atom action)
|
||||
{
|
||||
|
|
|
@ -54,7 +54,7 @@ _ecore_x_dpms_init_finalize(void)
|
|||
* 0 otherwise.
|
||||
* @ingroup Ecore_X_DPMS_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_dpms_query(void)
|
||||
{
|
||||
#ifdef ECORE_XCB_DPMS
|
||||
|
@ -105,7 +105,7 @@ ecore_x_dpms_capable_get_fetch(void)
|
|||
* then ecore_x_dpms_capable_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_DPMS_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_dpms_capable_get(void)
|
||||
{
|
||||
int capable = 0;
|
||||
|
@ -205,7 +205,7 @@ ecore_x_dpms_enabled_set(int enabled)
|
|||
* @return Returns always 1.
|
||||
* @ingroup Ecore_X_DPMS_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_dpms_timeouts_set(unsigned int standby,
|
||||
unsigned int suspend,
|
||||
unsigned int off)
|
||||
|
|
|
@ -262,13 +262,13 @@ ecore_x_icccm_move_resize_send(Ecore_X_Window window,
|
|||
*/
|
||||
EAPI void
|
||||
ecore_x_icccm_hints_set(Ecore_X_Window window,
|
||||
int accepts_focus,
|
||||
Eina_Bool accepts_focus,
|
||||
Ecore_X_Window_State_Hint initial_state,
|
||||
Ecore_X_Pixmap icon_pixmap,
|
||||
Ecore_X_Pixmap icon_mask,
|
||||
Ecore_X_Window icon_window,
|
||||
Ecore_X_Window window_group,
|
||||
int is_urgent)
|
||||
Eina_Bool is_urgent)
|
||||
{
|
||||
xcb_wm_hints_t hints;
|
||||
|
||||
|
@ -347,15 +347,15 @@ ecore_x_icccm_hints_get_fetch(void)
|
|||
* then ecore_x_icccm_hints_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_ICCCM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_icccm_hints_get(Ecore_X_Window window __UNUSED__,
|
||||
int *accepts_focus,
|
||||
Eina_Bool *accepts_focus,
|
||||
Ecore_X_Window_State_Hint *initial_state,
|
||||
Ecore_X_Pixmap *icon_pixmap,
|
||||
Ecore_X_Pixmap *icon_mask,
|
||||
Ecore_X_Window *icon_window,
|
||||
Ecore_X_Window *window_group,
|
||||
int *is_urgent)
|
||||
Eina_Bool *is_urgent)
|
||||
{
|
||||
xcb_wm_hints_t hints;
|
||||
xcb_get_property_reply_t *reply;
|
||||
|
@ -509,7 +509,7 @@ ecore_x_icccm_size_pos_hints_get_fetch(void)
|
|||
*/
|
||||
EAPI void
|
||||
ecore_x_icccm_size_pos_hints_set(Ecore_X_Window window,
|
||||
int request_pos,
|
||||
Eina_Bool request_pos,
|
||||
Ecore_X_Gravity gravity,
|
||||
int min_w,
|
||||
int min_h,
|
||||
|
@ -603,9 +603,9 @@ ecore_x_icccm_size_pos_hints_set(Ecore_X_Window window,
|
|||
* then ecore_x_icccm_size_pos_hints_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_ICCCM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_icccm_size_pos_hints_get(Ecore_X_Window window __UNUSED__,
|
||||
int *request_pos,
|
||||
Eina_Bool *request_pos,
|
||||
Ecore_X_Gravity *gravity,
|
||||
int *min_w,
|
||||
int *min_h,
|
||||
|
@ -941,7 +941,7 @@ ecore_x_icccm_protocol_get_fetch(void)
|
|||
EAPI void
|
||||
ecore_x_icccm_protocol_set(Ecore_X_Window window,
|
||||
Ecore_X_WM_Protocol protocol,
|
||||
int on)
|
||||
Eina_Bool on)
|
||||
{
|
||||
xcb_get_property_reply_t *reply;
|
||||
Ecore_X_Atom *protos = NULL;
|
||||
|
@ -1035,7 +1035,7 @@ ecore_x_icccm_protocol_set(Ecore_X_Window window,
|
|||
* then ecore_x_icccm_protocol_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_ICCCM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_icccm_protocol_isset(Ecore_X_Window window __UNUSED__,
|
||||
Ecore_X_WM_Protocol protocol)
|
||||
{
|
||||
|
|
|
@ -75,7 +75,7 @@ ecore_x_mwm_hints_get_fetch(void)
|
|||
* then ecore_x_mwm_hints_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_MWM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_mwm_hints_get(Ecore_X_Window window __UNUSED__,
|
||||
Ecore_X_MWM_Hint_Func *fhint,
|
||||
Ecore_X_MWM_Hint_Decor *dhint,
|
||||
|
@ -134,7 +134,7 @@ ecore_x_mwm_hints_get(Ecore_X_Window window __UNUSED__,
|
|||
*/
|
||||
EAPI void
|
||||
ecore_x_mwm_borderless_set(Ecore_X_Window window,
|
||||
int borderless)
|
||||
Eina_Bool borderless)
|
||||
{
|
||||
uint32_t data[5] = {0, 0, 0, 0, 0};
|
||||
|
||||
|
|
|
@ -174,7 +174,7 @@ ecore_x_netwm_supported_get_fetch(void)
|
|||
* then ecore_x_netwm_supported_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_NetWM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_netwm_supported_get(Ecore_X_Window root,
|
||||
Ecore_X_Atom **supported,
|
||||
int *num)
|
||||
|
@ -504,7 +504,7 @@ ecore_x_netwm_desk_current_set(Ecore_X_Window root,
|
|||
*/
|
||||
EAPI void
|
||||
ecore_x_netwm_showing_desktop_set(Ecore_X_Window root,
|
||||
int on)
|
||||
Eina_Bool on)
|
||||
{
|
||||
uint32_t val;
|
||||
|
||||
|
@ -1045,7 +1045,7 @@ ecore_x_netwm_desktop_get_fetch(void)
|
|||
* then ecore_x_netwm_desktop_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_NetWM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_netwm_desktop_get(Ecore_X_Window window,
|
||||
unsigned int *desk)
|
||||
{
|
||||
|
@ -1155,7 +1155,7 @@ ecore_x_netwm_strut_get_fetch(void)
|
|||
* then ecore_x_netwm_strut_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_NetWM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_netwm_strut_get(Ecore_X_Window window,
|
||||
int *left,
|
||||
int *right,
|
||||
|
@ -1301,7 +1301,7 @@ ecore_x_netwm_strut_partial_get_fetch(void)
|
|||
* then ecore_x_netwm_strut_partial_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_NetWM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_netwm_strut_partial_get(Ecore_X_Window window,
|
||||
int *left,
|
||||
int *right,
|
||||
|
@ -1408,7 +1408,7 @@ ecore_x_netwm_icons_get_fetch(void)
|
|||
* then ecore_x_netwm_icons_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_NetWM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_netwm_icons_get(Ecore_X_Window window,
|
||||
Ecore_X_Icon **icon,
|
||||
int *num)
|
||||
|
@ -1601,7 +1601,7 @@ ecore_x_netwm_icon_geometry_get_fetch(void)
|
|||
* then ecore_x_netwm_icon_geometry_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_NetWM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_netwm_icon_geometry_get(Ecore_X_Window window,
|
||||
int *x,
|
||||
int *y,
|
||||
|
@ -1701,7 +1701,7 @@ ecore_x_netwm_pid_get_fetch(void)
|
|||
* then ecore_x_netwm_pid_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_NetWM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_netwm_pid_get(Ecore_X_Window window,
|
||||
int *pid)
|
||||
{
|
||||
|
@ -1780,7 +1780,7 @@ ecore_x_netwm_handled_icons_get_fetch(void)
|
|||
* then ecore_x_netwm_handled_icons_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_NetWM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_netwm_handled_icons_get(Ecore_X_Window window)
|
||||
{
|
||||
int ret = 0;
|
||||
|
@ -1857,7 +1857,7 @@ ecore_x_netwm_user_time_get_fetch(void)
|
|||
* then ecore_x_netwm_user_time_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_NetWM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_netwm_user_time_get(Ecore_X_Window window,
|
||||
unsigned int *time)
|
||||
{
|
||||
|
@ -2039,7 +2039,7 @@ ecore_x_netwm_window_state_get_fetch(void)
|
|||
* then ecore_x_netwm_window_state_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_NetWM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_netwm_window_state_get(Ecore_X_Window window,
|
||||
Ecore_X_Window_State **state,
|
||||
unsigned int *num)
|
||||
|
@ -2212,7 +2212,7 @@ ecore_x_netwm_window_type_get_fetch(void)
|
|||
* then ecore_x_netwm_window_type_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_NetWM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_netwm_window_type_get(Ecore_X_Window window,
|
||||
Ecore_X_Window_Type *type)
|
||||
{
|
||||
|
@ -2345,7 +2345,7 @@ ecore_x_netwm_allowed_action_get_fetch(void)
|
|||
* then ecore_x_netwm_allowed_action_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_NetWM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_netwm_allowed_action_isset(Ecore_X_Window window,
|
||||
Ecore_X_Action action)
|
||||
{
|
||||
|
@ -2434,7 +2434,7 @@ ecore_x_netwm_allowed_action_set(Ecore_X_Window window,
|
|||
* then ecore_x_netwm_allowed_action_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_NetWM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_netwm_allowed_action_get(Ecore_X_Window window,
|
||||
Ecore_X_Action **action,
|
||||
unsigned int *num)
|
||||
|
@ -2543,7 +2543,7 @@ ecore_x_netwm_opacity_get_fetch(void)
|
|||
* then ecore_x_netwm_opacity_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_NetWM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_netwm_opacity_get(Ecore_X_Window window,
|
||||
unsigned int *opacity)
|
||||
{
|
||||
|
@ -2641,7 +2641,7 @@ ecore_x_netwm_frame_size_get_fetch(void)
|
|||
* then ecore_x_netwm_frame_size_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_NetWM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_netwm_frame_size_get(Ecore_X_Window window,
|
||||
int *fl,
|
||||
int *fr,
|
||||
|
@ -2715,7 +2715,7 @@ ecore_x_netwm_sync_counter_get_fetch(void)
|
|||
* then ecore_x_netwm_frame_size_get_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_NetWM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_netwm_sync_counter_get(Ecore_X_Window window,
|
||||
Ecore_X_Sync_Counter *counter)
|
||||
{
|
||||
|
@ -2815,7 +2815,7 @@ ecore_x_netwm_state_request_send(Ecore_X_Window window,
|
|||
Ecore_X_Window root,
|
||||
Ecore_X_Window_State s1,
|
||||
Ecore_X_Window_State s2,
|
||||
int set)
|
||||
Eina_Bool set)
|
||||
{
|
||||
xcb_client_message_event_t ev;
|
||||
|
||||
|
@ -3346,7 +3346,7 @@ _ecore_x_netwm_startup_info_free(void *data)
|
|||
* Return 1 if @p screen is composited, 0 otherwise.
|
||||
* @ingroup Ecore_X_NetWM_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_screen_is_composited(int screen)
|
||||
{
|
||||
char buf[32];
|
||||
|
|
|
@ -55,7 +55,7 @@ _ecore_x_randr_init_finalize(void)
|
|||
* 0 otherwise.
|
||||
* @ingroup Ecore_X_RandR_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_randr_query(void)
|
||||
{
|
||||
#ifdef ECORE_XCB_RANDR
|
||||
|
@ -94,7 +94,8 @@ _xcb_randr_root_to_screen(Ecore_X_Window root)
|
|||
* the client connected, to avoid race conditions.
|
||||
* @ingroup Ecore_X_RandR_Group
|
||||
*/
|
||||
EAPI int
|
||||
/*
|
||||
EAPI Eina_Bool
|
||||
ecore_x_randr_events_select(Ecore_X_Window window,
|
||||
int on)
|
||||
{
|
||||
|
@ -102,10 +103,10 @@ ecore_x_randr_events_select(Ecore_X_Window window,
|
|||
xcb_randr_select_input(_ecore_xcb_conn, window,
|
||||
on ? XCB_RANDR_SCREEN_CHANGE_NOTIFY : 0);
|
||||
return 1;
|
||||
#else /* ifdef ECORE_XCB_RANDR */
|
||||
#else
|
||||
return 0;
|
||||
#endif /* ECORE_XCB_RANDR */
|
||||
} /* ecore_x_randr_events_select */
|
||||
#endif
|
||||
}*/
|
||||
|
||||
/**
|
||||
* Sends the GetScreenInfo request.
|
||||
|
@ -155,6 +156,7 @@ ecore_x_randr_get_screen_info_fetch(void)
|
|||
* then ecore_x_randr_get_screen_info_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_RandR_Group
|
||||
*/
|
||||
/*
|
||||
EAPI Ecore_X_Randr_Rotation
|
||||
ecore_x_randr_screen_rotations_get(Ecore_X_Window root __UNUSED__)
|
||||
{
|
||||
|
@ -166,10 +168,10 @@ ecore_x_randr_screen_rotations_get(Ecore_X_Window root __UNUSED__)
|
|||
return 0;
|
||||
|
||||
return reply->rotations;
|
||||
#else /* ifdef ECORE_XCB_RANDR */
|
||||
#else
|
||||
return 0;
|
||||
#endif /* ECORE_XCB_RANDR */
|
||||
} /* ecore_x_randr_screen_rotations_get */
|
||||
#endif
|
||||
}*/
|
||||
|
||||
/**
|
||||
* Get the rotation.
|
||||
|
@ -185,6 +187,7 @@ ecore_x_randr_screen_rotations_get(Ecore_X_Window root __UNUSED__)
|
|||
* then ecore_x_randr_get_screen_info_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_RandR_Group
|
||||
*/
|
||||
/*
|
||||
EAPI Ecore_X_Randr_Rotation
|
||||
ecore_x_randr_screen_rotation_get(Ecore_X_Window root __UNUSED__)
|
||||
{
|
||||
|
@ -196,10 +199,10 @@ ecore_x_randr_screen_rotation_get(Ecore_X_Window root __UNUSED__)
|
|||
return 0;
|
||||
|
||||
return reply->rotation;
|
||||
#else /* ifdef ECORE_XCB_RANDR */
|
||||
#else
|
||||
return 0;
|
||||
#endif /* ECORE_XCB_RANDR */
|
||||
} /* ecore_x_randr_screen_rotation_get */
|
||||
#endif
|
||||
}*/
|
||||
|
||||
/**
|
||||
* Get the frame buffer sizes.
|
||||
|
@ -217,6 +220,7 @@ ecore_x_randr_screen_rotation_get(Ecore_X_Window root __UNUSED__)
|
|||
* then ecore_x_randr_get_screen_info_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_RandR_Group
|
||||
*/
|
||||
/*
|
||||
EAPI Ecore_X_Screen_Size *
|
||||
ecore_x_randr_screen_sizes_get(Ecore_X_Window root __UNUSED__,
|
||||
int *num)
|
||||
|
@ -251,13 +255,13 @@ ecore_x_randr_screen_sizes_get(Ecore_X_Window root __UNUSED__,
|
|||
}
|
||||
|
||||
return ret;
|
||||
#else /* ifdef ECORE_XCB_RANDR */
|
||||
#else
|
||||
if (num)
|
||||
*num = 0;
|
||||
|
||||
return NULL;
|
||||
#endif /* ECORE_XCB_RANDR */
|
||||
} /* ecore_x_randr_screen_sizes_get */
|
||||
#endif
|
||||
}*/
|
||||
|
||||
/**
|
||||
* Get the current frame buffer size.
|
||||
|
@ -273,6 +277,7 @@ ecore_x_randr_screen_sizes_get(Ecore_X_Window root __UNUSED__,
|
|||
* then ecore_x_randr_get_screen_info_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_RandR_Group
|
||||
*/
|
||||
/*
|
||||
EAPI Ecore_X_Screen_Size
|
||||
ecore_x_randr_current_screen_size_get(Ecore_X_Window root __UNUSED__)
|
||||
{
|
||||
|
@ -294,10 +299,10 @@ ecore_x_randr_current_screen_size_get(Ecore_X_Window root __UNUSED__)
|
|||
ret.height = sizes[size_index].mheight;
|
||||
}
|
||||
|
||||
#endif /* ECORE_XCB_RANDR */
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
} /* ecore_x_randr_current_screen_size_get */
|
||||
}*/
|
||||
|
||||
/**
|
||||
* Get the current refresh rate.
|
||||
|
@ -313,6 +318,7 @@ ecore_x_randr_current_screen_size_get(Ecore_X_Window root __UNUSED__)
|
|||
* then ecore_x_randr_get_screen_info_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_RandR_Group
|
||||
*/
|
||||
/*
|
||||
EAPI Ecore_X_Screen_Refresh_Rate
|
||||
ecore_x_randr_current_screen_refresh_rate_get(Ecore_X_Window root __UNUSED__)
|
||||
{
|
||||
|
@ -325,10 +331,10 @@ ecore_x_randr_current_screen_refresh_rate_get(Ecore_X_Window root __UNUSED__)
|
|||
return ret;
|
||||
|
||||
ret.rate = reply->rate;
|
||||
#endif /* ECORE_XCB_RANDR */
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
} /* ecore_x_randr_current_screen_refresh_rate_get */
|
||||
}*/
|
||||
|
||||
/**
|
||||
* Get the refresh rates.
|
||||
|
@ -348,6 +354,7 @@ ecore_x_randr_current_screen_refresh_rate_get(Ecore_X_Window root __UNUSED__)
|
|||
* then ecore_x_randr_get_screen_info_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_RandR_Group
|
||||
*/
|
||||
/*
|
||||
EAPI Ecore_X_Screen_Refresh_Rate *
|
||||
ecore_x_randr_screen_refresh_rates_get(Ecore_X_Window root __UNUSED__,
|
||||
int size_id __UNUSED__,
|
||||
|
@ -375,7 +382,6 @@ ecore_x_randr_screen_refresh_rates_get(Ecore_X_Window root __UNUSED__,
|
|||
if (num)
|
||||
*num = n;
|
||||
|
||||
/* FIXME: maybe there's a missing function in xcb randr implementation */
|
||||
iter = xcb_randr_get_screen_info_rates_iterator(reply);
|
||||
tmp = ret;
|
||||
for (; iter.rem; xcb_randr_refresh_rates_next(&iter), tmp++)
|
||||
|
@ -384,13 +390,13 @@ ecore_x_randr_screen_refresh_rates_get(Ecore_X_Window root __UNUSED__,
|
|||
}
|
||||
|
||||
return ret;
|
||||
#else /* ifdef ECORE_XCB_RANDR */
|
||||
#else
|
||||
if (num)
|
||||
*num = 0;
|
||||
|
||||
return NULL;
|
||||
#endif /* ECORE_XCB_RANDR */
|
||||
} /* ecore_x_randr_screen_refresh_rates_get */
|
||||
#endif
|
||||
}*/
|
||||
|
||||
/* FIXME: round trip. Should we remove it ? */
|
||||
|
||||
|
@ -404,6 +410,7 @@ ecore_x_randr_screen_refresh_rates_get(Ecore_X_Window root __UNUSED__,
|
|||
* Note that that function is blocking.
|
||||
* @ingroup Ecore_X_RandR_Group
|
||||
*/
|
||||
/*
|
||||
EAPI void
|
||||
ecore_x_randr_screen_rotation_set(Ecore_X_Window root,
|
||||
Ecore_X_Randr_Rotation rot)
|
||||
|
@ -427,8 +434,8 @@ ecore_x_randr_screen_rotation_set(Ecore_X_Window root,
|
|||
if (reply_config)
|
||||
free(reply_config);
|
||||
|
||||
#endif /* ECORE_XCB_RANDR */
|
||||
} /* ecore_x_randr_screen_rotation_set */
|
||||
#endif
|
||||
}*/
|
||||
|
||||
/* FIXME: round trip. Should we remove it ? */
|
||||
|
||||
|
@ -442,6 +449,7 @@ ecore_x_randr_screen_rotation_set(Ecore_X_Window root,
|
|||
* Note that that function is blocking.
|
||||
* @ingroup Ecore_X_RandR_Group
|
||||
*/
|
||||
/*
|
||||
EAPI int
|
||||
ecore_x_randr_screen_size_set(Ecore_X_Window root,
|
||||
Ecore_X_Screen_Size size)
|
||||
|
@ -486,10 +494,10 @@ ecore_x_randr_screen_size_set(Ecore_X_Window root,
|
|||
free(reply_config);
|
||||
|
||||
return 1;
|
||||
#else /* ifdef ECORE_XCB_RANDR */
|
||||
#else
|
||||
return 0;
|
||||
#endif /* ECORE_XCB_RANDR */
|
||||
} /* ecore_x_randr_screen_size_set */
|
||||
#endif
|
||||
}*/
|
||||
|
||||
/* FIXME: round trip. Should we remove it ? */
|
||||
|
||||
|
@ -505,6 +513,7 @@ ecore_x_randr_screen_size_set(Ecore_X_Window root,
|
|||
* Note that that function is blocking.
|
||||
* @ingroup Ecore_X_RandR_Group
|
||||
*/
|
||||
/*
|
||||
EAPI int
|
||||
ecore_x_randr_screen_refresh_rate_set(Ecore_X_Window root,
|
||||
Ecore_X_Screen_Size size,
|
||||
|
@ -550,8 +559,8 @@ ecore_x_randr_screen_refresh_rate_set(Ecore_X_Window root,
|
|||
free(reply_config);
|
||||
|
||||
return 1;
|
||||
#else /* ifdef ECORE_XCB_RANDR */
|
||||
#else
|
||||
return 0;
|
||||
#endif /* ECORE_XCB_RANDR */
|
||||
} /* ecore_x_randr_screen_refresh_rate_set */
|
||||
#endif
|
||||
}*/
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ ecore_x_xregion_free(Ecore_X_XRegion *region)
|
|||
free(region);
|
||||
} /* ecore_x_xregion_free */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_xregion_set(Ecore_X_XRegion *region, Ecore_X_GC gc)
|
||||
{
|
||||
xcb_rectangle_t *rects;
|
||||
|
@ -99,32 +99,32 @@ ecore_x_xregion_translate(Ecore_X_XRegion *region, int x, int y)
|
|||
pixman_region_translate((pixman_region16_t *)region, x, y);
|
||||
} /* ecore_x_xregion_translate */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_xregion_intersect(Ecore_X_XRegion *dst, Ecore_X_XRegion *r1, Ecore_X_XRegion *r2)
|
||||
{
|
||||
return pixman_region_intersect((pixman_region16_t *)dst, (pixman_region16_t *)r1, (pixman_region16_t *)r2);
|
||||
} /* ecore_x_xregion_intersect */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_xregion_union(Ecore_X_XRegion *dst, Ecore_X_XRegion *r1, Ecore_X_XRegion *r2)
|
||||
{
|
||||
return pixman_region_union((pixman_region16_t *)dst, (pixman_region16_t *)r1, (pixman_region16_t *)r2);
|
||||
} /* ecore_x_xregion_union */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_xregion_union_rect(Ecore_X_XRegion *dst, Ecore_X_XRegion *src, Ecore_X_Rectangle *rect)
|
||||
{
|
||||
return pixman_region_union_rect((pixman_region16_t *)dst, (pixman_region16_t *)src,
|
||||
rect->x, rect->y, rect->width, rect->height);
|
||||
} /* ecore_x_xregion_union_rect */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_xregion_subtract(Ecore_X_XRegion *dst, Ecore_X_XRegion *rm, Ecore_X_XRegion *rs)
|
||||
{
|
||||
return pixman_region_subtract((pixman_region16_t *)dst, (pixman_region16_t *)rm, (pixman_region16_t *)rs);
|
||||
} /* ecore_x_xregion_subtract */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_xregion_is_empty(Ecore_X_XRegion *region)
|
||||
{
|
||||
if (!region)
|
||||
|
@ -133,7 +133,7 @@ ecore_x_xregion_is_empty(Ecore_X_XRegion *region)
|
|||
return !pixman_region_not_empty((pixman_region16_t *)region);
|
||||
} /* ecore_x_xregion_is_empty */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_xregion_is_equal(Ecore_X_XRegion *r1, Ecore_X_XRegion *r2)
|
||||
{
|
||||
if (!r1 || !r2)
|
||||
|
@ -142,7 +142,7 @@ ecore_x_xregion_is_equal(Ecore_X_XRegion *r1, Ecore_X_XRegion *r2)
|
|||
return pixman_region_equal((pixman_region16_t *)r1, (pixman_region16_t *)r2);
|
||||
} /* ecore_x_xregion_is_equal */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_xregion_point_contain(Ecore_X_XRegion *region, int x, int y)
|
||||
{
|
||||
if (!region)
|
||||
|
@ -151,7 +151,7 @@ ecore_x_xregion_point_contain(Ecore_X_XRegion *region, int x, int y)
|
|||
return pixman_region_contains_point((pixman_region16_t *)region, x, y, NULL);
|
||||
} /* ecore_x_xregion_point_contain */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_xregion_rect_contain(Ecore_X_XRegion *region, Ecore_X_Rectangle *rect)
|
||||
{
|
||||
pixman_box16_t box;
|
||||
|
|
|
@ -55,7 +55,7 @@ _ecore_x_screensaver_init_finalize(void)
|
|||
* 0 otherwise.
|
||||
* @ingroup Ecore_X_ScreenSaver_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_screensaver_event_available_get(void)
|
||||
{
|
||||
return 1;
|
||||
|
@ -390,7 +390,7 @@ ecore_x_screensaver_expose_get(void)
|
|||
* @ingroup Ecore_X_ScreenSaver_Group
|
||||
*/
|
||||
EAPI void
|
||||
ecore_x_screensaver_event_listen_set(int on)
|
||||
ecore_x_screensaver_event_listen_set(Eina_Bool on)
|
||||
{
|
||||
#ifdef ECORE_XCB_SCREENSAVER
|
||||
xcb_screensaver_select_input(_ecore_xcb_conn,
|
||||
|
|
|
@ -7,14 +7,14 @@ static Ecore_X_Selection_Intern selections[4];
|
|||
static Ecore_X_Selection_Converter *converters = NULL;
|
||||
static Ecore_X_Selection_Parser *parsers = NULL;
|
||||
|
||||
static int _ecore_x_selection_converter_text(char *target, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *tprop, int *);
|
||||
static int _ecore_x_selection_data_default_free(void *data);
|
||||
static Eina_Bool _ecore_x_selection_converter_text(char *target, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *tprop, int *);
|
||||
static Eina_Bool _ecore_x_selection_data_default_free(void *data);
|
||||
static void * _ecore_x_selection_parser_files(const char *target, void *data, int size, int format);
|
||||
static int _ecore_x_selection_data_files_free(void *data);
|
||||
static Eina_Bool _ecore_x_selection_data_files_free(void *data);
|
||||
static void * _ecore_x_selection_parser_text(const char *target, void *data, int size, int format);
|
||||
static int _ecore_x_selection_data_text_free(void *data);
|
||||
static Eina_Bool _ecore_x_selection_data_text_free(void *data);
|
||||
static void * _ecore_x_selection_parser_targets(const char *target, void *data, int size, int format);
|
||||
static int _ecore_x_selection_data_targets_free(void *data);
|
||||
static Eina_Bool _ecore_x_selection_data_targets_free(void *data);
|
||||
|
||||
#define ECORE_X_SELECTION_DATA(x) ((Ecore_X_Selection_Data *)(x))
|
||||
|
||||
|
@ -215,7 +215,7 @@ ecore_x_selection_primary_fetch(void)
|
|||
* ecore_x_selection_primary_prefetch(), which sends the GetSelectionOwner request,
|
||||
* then ecore_x_selection_primary_fetch(), which gets the reply.
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_selection_primary_set(Ecore_X_Window window,
|
||||
const void *data,
|
||||
int size)
|
||||
|
@ -232,7 +232,7 @@ ecore_x_selection_primary_set(Ecore_X_Window window,
|
|||
* ecore_x_selection_primary_prefetch(), which sends the GetSelectionOwner request,
|
||||
* then ecore_x_selection_primary_fetch(), which gets the reply.
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_selection_primary_clear(void)
|
||||
{
|
||||
return _ecore_x_selection_set(XCB_NONE, NULL, 0, ECORE_X_ATOM_SELECTION_PRIMARY);
|
||||
|
@ -276,7 +276,7 @@ ecore_x_selection_secondary_fetch(void)
|
|||
* ecore_x_selection_secondary_prefetch(), which sends the GetSelectionOwner request,
|
||||
* then ecore_x_selection_secondary_fetch(), which gets the reply.
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_selection_secondary_set(Ecore_X_Window window,
|
||||
const void *data,
|
||||
int size)
|
||||
|
@ -293,7 +293,7 @@ ecore_x_selection_secondary_set(Ecore_X_Window window,
|
|||
* ecore_x_selection_secondary_prefetch(), which sends the GetSelectionOwner request,
|
||||
* then ecore_x_selection_secondary_fetch(), which gets the reply.
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_selection_secondary_clear(void)
|
||||
{
|
||||
return _ecore_x_selection_set(XCB_NONE, NULL, 0, ECORE_X_ATOM_SELECTION_SECONDARY);
|
||||
|
@ -337,7 +337,7 @@ ecore_x_selection_xdnd_fetch(void)
|
|||
* ecore_x_selection_xdnd_prefetch(), which sends the GetSelectionOwner request,
|
||||
* then ecore_x_selection_xdnd_fetch(), which gets the reply.
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_selection_xdnd_set(Ecore_X_Window window,
|
||||
const void *data,
|
||||
int size)
|
||||
|
@ -354,7 +354,7 @@ ecore_x_selection_xdnd_set(Ecore_X_Window window,
|
|||
* ecore_x_selection_xdnd_prefetch(), which sends the GetSelectionOwner request,
|
||||
* then ecore_x_selection_xdnd_fetch(), which gets the reply.
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_selection_xdnd_clear(void)
|
||||
{
|
||||
return _ecore_x_selection_set(XCB_NONE, NULL, 0, ECORE_X_ATOM_SELECTION_XDND);
|
||||
|
@ -401,7 +401,7 @@ ecore_x_selection_clipboard_fetch(void)
|
|||
* ecore_x_selection_clipboard_prefetch(), which sends the GetSelectionOwner request,
|
||||
* then ecore_x_selection_clipboard_fetch(), which gets the reply.
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_selection_clipboard_set(Ecore_X_Window window,
|
||||
const void *data,
|
||||
int size)
|
||||
|
@ -418,7 +418,7 @@ ecore_x_selection_clipboard_set(Ecore_X_Window window,
|
|||
* ecore_x_selection_clipboard_prefetch(), which sends the GetSelectionOwner request,
|
||||
* then ecore_x_selection_clipboard_fetch(), which gets the reply.
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_selection_clipboard_clear(void)
|
||||
{
|
||||
return _ecore_x_selection_set(XCB_NONE, NULL, 0, ECORE_X_ATOM_SELECTION_CLIPBOARD);
|
||||
|
@ -555,13 +555,14 @@ ecore_x_selection_clipboard_request(Ecore_X_Window window, const char *target)
|
|||
|
||||
EAPI void
|
||||
ecore_x_selection_converter_atom_add(Ecore_X_Atom target,
|
||||
int (*func)(char *target,
|
||||
void *data,
|
||||
int size,
|
||||
void **data_ret,
|
||||
int *size_ret,
|
||||
Ecore_X_Atom *ttype,
|
||||
int *tsize))
|
||||
Eina_Bool (*func)
|
||||
(char *target,
|
||||
void *data,
|
||||
int size,
|
||||
void **data_ret,
|
||||
int *size_ret,
|
||||
Ecore_X_Atom *ttype,
|
||||
int *tsize))
|
||||
{
|
||||
Ecore_X_Selection_Converter *cnv;
|
||||
|
||||
|
@ -597,13 +598,14 @@ ecore_x_selection_converter_atom_add(Ecore_X_Atom
|
|||
|
||||
EAPI void
|
||||
ecore_x_selection_converter_add(char *target,
|
||||
int (*func)(char *target,
|
||||
void *data,
|
||||
int size,
|
||||
void **data_ret,
|
||||
int *size_ret,
|
||||
Ecore_X_Atom *,
|
||||
int *))
|
||||
Eina_Bool (*func)
|
||||
(char *target,
|
||||
void *data,
|
||||
int size,
|
||||
void **data_ret,
|
||||
int *size_ret,
|
||||
Ecore_X_Atom *,
|
||||
int *))
|
||||
{
|
||||
Ecore_X_Atom x_target;
|
||||
|
||||
|
@ -654,7 +656,7 @@ ecore_x_selection_converter_del(char *target)
|
|||
ecore_x_selection_converter_atom_del(x_target);
|
||||
} /* ecore_x_selection_converter_del */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_selection_notify_send(Ecore_X_Window requestor,
|
||||
Ecore_X_Atom selection,
|
||||
Ecore_X_Atom target,
|
||||
|
@ -677,7 +679,7 @@ ecore_x_selection_notify_send(Ecore_X_Window requestor,
|
|||
} /* ecore_x_selection_notify_send */
|
||||
|
||||
/* Locate and run conversion callback for specified selection target */
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_selection_convert(Ecore_X_Atom selection,
|
||||
Ecore_X_Atom target,
|
||||
void **data_ret,
|
||||
|
@ -720,7 +722,7 @@ ecore_x_selection_convert(Ecore_X_Atom selection,
|
|||
/* TODO: We need to work out a mechanism for automatic conversion to any requested
|
||||
* locale using Ecore_Txt functions */
|
||||
/* Converter for standard non-utf8 text targets */
|
||||
static int
|
||||
static Eina_Bool
|
||||
_ecore_x_selection_converter_text(char *target, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *targprop, int *s)
|
||||
{
|
||||
/* FIXME: to do... */
|
||||
|
@ -875,7 +877,7 @@ _ecore_x_selection_parse(const char *target, void *data, int size, int format)
|
|||
return sel;
|
||||
} /* _ecore_x_selection_parse */
|
||||
|
||||
static int
|
||||
static Eina_Bool
|
||||
_ecore_x_selection_data_default_free(void *data)
|
||||
{
|
||||
Ecore_X_Selection_Data *sel;
|
||||
|
@ -954,7 +956,7 @@ _ecore_x_selection_parser_files(const char *target, void *_data, int size, int f
|
|||
return ECORE_X_SELECTION_DATA(sel);
|
||||
} /* _ecore_x_selection_parser_files */
|
||||
|
||||
static int
|
||||
static Eina_Bool
|
||||
_ecore_x_selection_data_files_free(void *data)
|
||||
{
|
||||
Ecore_X_Selection_Data_Files *sel;
|
||||
|
@ -998,7 +1000,7 @@ _ecore_x_selection_parser_text(const char *target __UNUSED__,
|
|||
return sel;
|
||||
} /* _ecore_x_selection_parser_text */
|
||||
|
||||
static int
|
||||
static Eina_Bool
|
||||
_ecore_x_selection_data_text_free(void *data)
|
||||
{
|
||||
Ecore_X_Selection_Data_Text *sel;
|
||||
|
@ -1052,7 +1054,7 @@ _ecore_x_selection_parser_targets(const char *target __UNUSED__,
|
|||
return sel;
|
||||
} /* _ecore_x_selection_parser_targets */
|
||||
|
||||
static int
|
||||
static Eina_Bool
|
||||
_ecore_x_selection_data_targets_free(void *data)
|
||||
{
|
||||
Ecore_X_Selection_Data_Targets *sel;
|
||||
|
|
|
@ -280,7 +280,7 @@ ecore_x_window_shape_rectangles_get(Ecore_X_Window window __UNUSED__,
|
|||
|
||||
EAPI void
|
||||
ecore_x_window_shape_events_select(Ecore_X_Window dest_win,
|
||||
int on)
|
||||
Eina_Bool on)
|
||||
{
|
||||
#ifdef ECORE_XCB_SHAPE
|
||||
xcb_shape_select_input(_ecore_xcb_conn, dest_win, on ? 1 : 0);
|
||||
|
|
|
@ -56,7 +56,7 @@ _ecore_x_sync_init_finalize(void)
|
|||
* 0 otherwise.
|
||||
* @ingroup Ecore_X_Sync_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_sync_query(void)
|
||||
{
|
||||
#ifdef ECORE_XCB_SYNC
|
||||
|
@ -118,7 +118,7 @@ ecore_x_sync_alarm_new(Ecore_X_Sync_Counter counter)
|
|||
* Delete the @p alarm. Returns 1 on success, 0 otherwise.
|
||||
* @ingroup Ecore_X_Sync_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_sync_alarm_free(Ecore_X_Sync_Alarm alarm)
|
||||
{
|
||||
#ifdef ECORE_XCB_SYNC
|
||||
|
@ -131,7 +131,7 @@ ecore_x_sync_alarm_free(Ecore_X_Sync_Alarm alarm)
|
|||
|
||||
/* FIXME: round trip */
|
||||
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_sync_counter_query(Ecore_X_Sync_Counter counter, unsigned int *val)
|
||||
{
|
||||
#ifdef ECORE_XCB_SYNC
|
||||
|
|
|
@ -873,7 +873,7 @@ ecore_x_window_gravity_set(Ecore_X_Window window,
|
|||
*/
|
||||
EAPI void
|
||||
ecore_x_window_override_set(Ecore_X_Window window,
|
||||
int override_redirect)
|
||||
Eina_Bool override_redirect)
|
||||
{
|
||||
uint32_t value_list;
|
||||
|
||||
|
@ -890,7 +890,7 @@ ecore_x_window_override_set(Ecore_X_Window window,
|
|||
*/
|
||||
EAPI void
|
||||
ecore_x_window_cursor_show(Ecore_X_Window window,
|
||||
int show)
|
||||
Eina_Bool show)
|
||||
{
|
||||
if (window == 0)
|
||||
window = ((xcb_screen_t *)_ecore_xcb_screen)->root;
|
||||
|
@ -1227,7 +1227,7 @@ ecore_x_get_window_attributes_fetch(void)
|
|||
* then ecore_x_get_window_attributes_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_Window_Get_Attributes_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_window_attributes_get(Ecore_X_Window window __UNUSED__,
|
||||
Ecore_X_Window_Attributes *att_ret)
|
||||
{
|
||||
|
|
|
@ -789,7 +789,7 @@ ecore_x_window_prop_string_get(Ecore_X_Window window __UNUSED__,
|
|||
|
||||
/* FIXME : round trips because of GetWMProtocols */
|
||||
/* should we rewrite its code ? */
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_window_prop_protocol_isset(Ecore_X_Window window,
|
||||
Ecore_X_WM_Protocol protocol)
|
||||
{
|
||||
|
|
|
@ -55,7 +55,7 @@ _ecore_x_xinerama_init_finalize(void)
|
|||
* 0 otherwise.
|
||||
* @ingroup Ecore_X_Xinerama_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_xinerama_query(void)
|
||||
{
|
||||
#ifdef ECORE_XCB_XINERAMA
|
||||
|
@ -144,7 +144,7 @@ ecore_x_xinerama_screen_count_get(void)
|
|||
* then ecore_x_xinerama_query_screens_fetch(), which gets the reply.
|
||||
* @ingroup Ecore_X_Xinerama_Group
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Eina_Bool
|
||||
ecore_x_xinerama_screen_geometry_get(int screen,
|
||||
int *x,
|
||||
int *y,
|
||||
|
|
Loading…
Reference in New Issue