always have the function calls - just optionally have useful internals

SVN revision: 18137
This commit is contained in:
Carsten Haitzler 2005-10-30 08:01:47 +00:00
parent a908b18cfc
commit adf8c014ba
1 changed files with 6 additions and 3 deletions

View File

@ -1295,20 +1295,23 @@ ecore_x_cursor_shape_get(int shape)
return XCreateFontCursor(_ecore_x_disp, shape);
}
#ifdef ECORE_XCURSOR
void
ecore_x_cursor_size_set(int size)
{
#ifdef ECORE_XCURSOR
XcursorSetDefaultSize(_ecore_x_disp, size);
#endif
}
int
ecore_x_cursor_size_get(void)
{
#ifdef ECORE_XCURSOR
return XcursorGetDefaultSize(_ecore_x_disp);
}
#else
return 0;
#endif
}
int
ecore_x_pointer_grab(Ecore_X_Window win)