forked from enlightenment/efl
ecore-x: Fix warning of defined but unused function
Summary: The _ecore_x_input_grabbed_is function is only used if we have support for XI2_2, so move the defines around a little to fix a compiler warning. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
5ffcaf605e
commit
0d28a11543
|
@ -276,10 +276,10 @@ _ecore_x_input_raw_handler(XEvent *xevent)
|
|||
#endif /* ifdef ECORE_XI2 */
|
||||
}
|
||||
|
||||
#ifdef ECORE_XI2_2
|
||||
static Eina_Bool
|
||||
_ecore_x_input_grabbed_is(int deviceId)
|
||||
{
|
||||
#ifdef ECORE_XI2
|
||||
void *id;
|
||||
Eina_List *l;
|
||||
|
||||
|
@ -288,10 +288,10 @@ _ecore_x_input_grabbed_is(int deviceId)
|
|||
if (deviceId == (intptr_t)id)
|
||||
return EINA_TRUE;
|
||||
}
|
||||
#endif /* ifdef ECORE_XI2 */
|
||||
|
||||
return EINA_FALSE;
|
||||
}
|
||||
#endif /* ifdef ECORE_XI2_2 */
|
||||
|
||||
void
|
||||
_ecore_x_input_mouse_handler(XEvent *xevent)
|
||||
|
|
Loading…
Reference in New Issue