forked from enlightenment/efl
Fix illume_conformant to return 0 if the atom is not setup on the xwin.
SVN revision: 44234
This commit is contained in:
parent
ed3ac88827
commit
4811502558
|
@ -123,7 +123,7 @@ ecore_x_e_illume_conformant_set(Ecore_X_Window win, unsigned int is_conformant)
|
||||||
EAPI int
|
EAPI int
|
||||||
ecore_x_e_illume_conformant_get(Ecore_X_Window win)
|
ecore_x_e_illume_conformant_get(Ecore_X_Window win)
|
||||||
{
|
{
|
||||||
unsigned int val;
|
unsigned int val = 0;
|
||||||
|
|
||||||
if (!ecore_x_window_prop_card32_get(win, ECORE_X_ATOM_E_ILLUME_CONFORMANT, &val, 1))
|
if (!ecore_x_window_prop_card32_get(win, ECORE_X_ATOM_E_ILLUME_CONFORMANT, &val, 1))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue