ecore_x: Added API - ecore_x_e_illume_window_state_send

Summary:
there exists ecore_x_e_illume_window_state_set and ecore_x_e_illume_window_state_get,
but no ecore_x_e_illume_window_state_send.

Reviewers: raster, seoz, cedric

Reviewed By: seoz

CC: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D512
This commit is contained in:
Doyoun Kang 2014-02-07 13:05:00 +09:00 committed by Daniel Juyung Seo
parent b1954cc74d
commit 541ef547ab
3 changed files with 25 additions and 4 deletions

View File

@ -2670,11 +2670,10 @@ EAPI void ecore_x_e_illume_indicator_type_set(E
EAPI Ecore_X_Illume_Indicator_Type_Mode ecore_x_e_illume_indicator_type_get(Ecore_X_Window win); /**< @since 1.8 */
EAPI void ecore_x_e_illume_indicator_type_send(Ecore_X_Window win, Ecore_X_Illume_Indicator_Type_Mode mode); /**< @since 1.8 */
EAPI void
ecore_x_e_illume_window_state_set(Ecore_X_Window win,
Ecore_X_Illume_Window_State state);
EAPI void ecore_x_e_illume_window_state_set(Ecore_X_Window win, Ecore_X_Illume_Window_State state);
EAPI Ecore_X_Illume_Window_State ecore_x_e_illume_window_state_get(Ecore_X_Window win);
EAPI void ecore_x_e_illume_window_state_send(Ecore_X_Window win, Ecore_X_Illume_Window_State state);
EAPI void ecore_x_xkb_select_group(int group); /* @since 1.7 */
#ifdef __cplusplus

View File

@ -1919,3 +1919,14 @@ ecore_x_e_illume_window_state_get(Ecore_X_Window win)
return _ecore_x_e_illume_window_state_get(atom);
}
EAPI void
ecore_x_e_illume_window_state_send(Ecore_X_Window win,
Ecore_X_Illume_Window_State state)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
ecore_x_client_message32_send(win,
ECORE_X_ATOM_E_ILLUME_WINDOW_STATE,
ECORE_X_EVENT_MASK_WINDOW_CONFIGURE,
_ecore_x_e_illume_window_state_atom_get(state),
0, 0, 0, 0);
}

View File

@ -2005,3 +2005,14 @@ ecore_x_e_illume_window_state_get(Ecore_X_Window win)
return _ecore_x_e_illume_window_state_get(atom);
}
EAPI void
ecore_x_e_illume_window_state_send(Ecore_X_Window win,
Ecore_X_Illume_Window_State state)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
ecore_x_client_message32_send(win,
ECORE_X_ATOM_E_ILLUME_WINDOW_STATE,
ECORE_X_EVENT_MASK_WINDOW_CONFIGURE,
_ecore_x_e_illume_window_state_atom_get(state),
0, 0, 0, 0);
}