Add method to send illume_back and illume_close messages.

SVN revision: 44399
This commit is contained in:
Christopher Michael 2009-12-12 00:46:54 +00:00
parent 42e16b816d
commit d3fc8d4fa4
5 changed files with 26 additions and 1 deletions

View File

@ -1536,6 +1536,9 @@ EAPI int ecore_x_e_illume_conformant_get(Ecore_X_Window win);
EAPI void ecore_x_e_illume_mode_set(Ecore_X_Window win, Ecore_X_Illume_Mode mode);
EAPI Ecore_X_Illume_Mode ecore_x_e_illume_mode_get(Ecore_X_Window win);
EAPI void ecore_x_e_illume_mode_send(Ecore_X_Window win, Ecore_X_Illume_Mode mode);
EAPI void ecore_x_e_illume_back_send(Ecore_X_Window win);
EAPI void ecore_x_e_illume_close_send(Ecore_X_Window win);
EAPI void ecore_x_xinerama_query_screens_prefetch(void);
EAPI void ecore_x_xinerama_query_screens_fetch(void);

View File

@ -202,5 +202,7 @@ EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CONFORMANT;
EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_MODE;
EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_MODE_SINGLE;
EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_MODE_DUAL;
EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_BACK;
EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLOSE;
#endif /* _ECORE_X_ATOMS_H */

View File

@ -225,3 +225,5 @@ EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CONFORMANT = 0;
EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_MODE = 0;
EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_MODE_SINGLE = 0;
EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_MODE_DUAL = 0;
EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_BACK = 0;
EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLOSE = 0;

View File

@ -215,7 +215,9 @@ _ecore_x_atoms_init(void)
{ "_E_ILLUME_CONFORMANT", &ECORE_X_ATOM_E_ILLUME_CONFORMANT },
{ "_E_ILLUME_MODE", &ECORE_X_ATOM_E_ILLUME_MODE },
{ "_E_ILLUME_MODE_SINGLE", &ECORE_X_ATOM_E_ILLUME_MODE_SINGLE },
{ "_E_ILLUME_MODE_DUAL", &ECORE_X_ATOM_E_ILLUME_MODE_DUAL }
{ "_E_ILLUME_MODE_DUAL", &ECORE_X_ATOM_E_ILLUME_MODE_DUAL },
{ "_E_ILLUME_BACK", &ECORE_X_ATOM_E_ILLUME_BACK },
{ "_E_ILLUME_CLOSE", &ECORE_X_ATOM_E_ILLUME_CLOSE }
};
Atom *atoms;
char **names;

View File

@ -183,3 +183,19 @@ ecore_x_e_illume_mode_send(Ecore_X_Window win, Ecore_X_Illume_Mode mode)
_ecore_x_e_illume_atom_get(mode),
0, 0, 0, 0);
}
EAPI void
ecore_x_e_illume_back_send(Ecore_X_Window win)
{
ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_BACK,
ECORE_X_EVENT_MASK_WINDOW_CONFIGURE,
1, 0, 0, 0, 0);
}
EAPI void
ecore_x_e_illume_close_send(Ecore_X_Window win)
{
ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_CLOSE,
ECORE_X_EVENT_MASK_WINDOW_CONFIGURE,
1, 0, 0, 0, 0);
}