[ECORE_X] Added API - ecore_x_e_illume_window_state_send
authorDoyoun Kang <doyoun.kang@samsung.com>
Tue, 9 Apr 2013 06:33:24 +0000 (15:33 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 10 Apr 2013 10:46:43 +0000 (19:46 +0900)
Change-Id: I6db4a64420075ad23f586ef291d0831e13f6fa1b

src/lib/ecore_x/Ecore_X.h
src/lib/ecore_x/xcb/ecore_xcb_e.c
src/lib/ecore_x/xlib/ecore_x_e.c

index 13436b4..03b8747 100644 (file)
@@ -2420,11 +2420,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);
 EAPI void                                  ecore_x_e_illume_indicator_type_send(Ecore_X_Window win, Ecore_X_Illume_Indicator_Type_Mode mode);
 
-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
index 0a002d3..16f4a39 100644 (file)
@@ -1672,3 +1672,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);
+}
index e1317a2..1001ea8 100644 (file)
@@ -2166,3 +2166,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);
+}