forked from enlightenment/efl
Add functions to make it easy to set an illume conformant window.
SVN revision: 44220
This commit is contained in:
parent
7117431ed6
commit
b7d7d87d18
|
@ -1518,8 +1518,6 @@ EAPI void ecore_x_netwm_state_request_send(Ecore_X_Window win, Ec
|
||||||
EAPI void ecore_x_netwm_desktop_request_send(Ecore_X_Window win, Ecore_X_Window root, unsigned int desktop);
|
EAPI void ecore_x_netwm_desktop_request_send(Ecore_X_Window win, Ecore_X_Window root, unsigned int desktop);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
EAPI void ecore_x_e_init(void);
|
EAPI void ecore_x_e_init(void);
|
||||||
EAPI void ecore_x_e_frame_size_set(Ecore_X_Window win, int fl, int fr, int ft, int fb);
|
EAPI void ecore_x_e_frame_size_set(Ecore_X_Window win, int fl, int fr, int ft, int fb);
|
||||||
EAPI void ecore_x_e_virtual_keyboard_set(Ecore_X_Window win, unsigned int is_keyboard);
|
EAPI void ecore_x_e_virtual_keyboard_set(Ecore_X_Window win, unsigned int is_keyboard);
|
||||||
|
@ -1527,7 +1525,11 @@ EAPI int ecore_x_e_virtual_keyboard_get(Ecore_X_Window win);
|
||||||
EAPI void ecore_x_e_virtual_keyboard_state_set(Ecore_X_Window win, Ecore_X_Virtual_Keyboard_State state);
|
EAPI void ecore_x_e_virtual_keyboard_state_set(Ecore_X_Window win, Ecore_X_Virtual_Keyboard_State state);
|
||||||
EAPI Ecore_X_Virtual_Keyboard_State ecore_x_e_virtual_keyboard_state_get(Ecore_X_Window win);
|
EAPI Ecore_X_Virtual_Keyboard_State ecore_x_e_virtual_keyboard_state_get(Ecore_X_Window win);
|
||||||
EAPI void ecore_x_e_virtual_keyboard_state_send(Ecore_X_Window win, Ecore_X_Virtual_Keyboard_State state);
|
EAPI void ecore_x_e_virtual_keyboard_state_send(Ecore_X_Window win, Ecore_X_Virtual_Keyboard_State state);
|
||||||
|
|
||||||
|
|
||||||
|
EAPI void ecore_x_e_illume_conformant_set(Ecore_X_Window win, unsigned int is_conformant);
|
||||||
|
EAPI int ecore_x_e_illume_conformant_get(Ecore_X_Window win);
|
||||||
|
|
||||||
|
|
||||||
EAPI void ecore_x_xinerama_query_screens_prefetch(void);
|
EAPI void ecore_x_xinerama_query_screens_prefetch(void);
|
||||||
EAPI void ecore_x_xinerama_query_screens_fetch(void);
|
EAPI void ecore_x_xinerama_query_screens_fetch(void);
|
||||||
|
|
|
@ -43,7 +43,7 @@ EAPI int
|
||||||
ecore_x_e_virtual_keyboard_get(Ecore_X_Window win)
|
ecore_x_e_virtual_keyboard_get(Ecore_X_Window win)
|
||||||
{
|
{
|
||||||
unsigned int val;
|
unsigned int val;
|
||||||
|
|
||||||
if (!ecore_x_window_prop_card32_get(win, ECORE_X_ATOM_E_VIRTUAL_KEYBOARD, &val, 1))
|
if (!ecore_x_window_prop_card32_get(win, ECORE_X_ATOM_E_VIRTUAL_KEYBOARD, &val, 1))
|
||||||
return 0;
|
return 0;
|
||||||
return val;
|
return val;
|
||||||
|
@ -112,3 +112,20 @@ ecore_x_e_virtual_keyboard_state_send(Ecore_X_Window win, Ecore_X_Virtual_Keyboa
|
||||||
_ecore_x_e_vkbd_atom_get(state),
|
_ecore_x_e_vkbd_atom_get(state),
|
||||||
0, 0, 0, 0);
|
0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EAPI void
|
||||||
|
ecore_x_e_illume_conformant_set(Ecore_X_Window win, unsigned int is_conformant)
|
||||||
|
{
|
||||||
|
ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_ILLUME_CONFORMANT,
|
||||||
|
&is_conformant, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
EAPI int
|
||||||
|
ecore_x_e_illume_conformant_get(Ecore_X_Window win)
|
||||||
|
{
|
||||||
|
unsigned int val;
|
||||||
|
|
||||||
|
if (!ecore_x_window_prop_card32_get(win, ECORE_X_ATOM_E_ILLUME_CONFORMANT, &val, 1))
|
||||||
|
return 0;
|
||||||
|
return val;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue