to keep ticking off. also happens to be an issue with
iterating the mainloop.
-2012-05-25 ChunEon Park (Hermet)
-
- * Changed ecore_x_error_get() return type to Ecore_X_Error_Code from
- int
-
2012-05-25 Rob Bradford
* Make ecore_{software_x11, software_x11_8, software_x11_16, wayland,
ecore_x_io_error_handler_set(void (*func)(void *data),
const void *data);
EAPI int
-ecore_x_error_request_get(void);
-
-EAPI Ecore_X_Error_Code
-ecore_x_error_code_get(void);
-
+ ecore_x_error_request_get(void);
+EAPI int
+ ecore_x_error_code_get(void);
EAPI Ecore_X_ID
ecore_x_error_resource_id_get(void);
*
* Return the error code from the last X error
*/
-EAPI Ecore_X_Error_Code
+EAPI int
ecore_x_error_code_get(void)
{
return _error_code;
_ecore_x_window_manage_error(void *data __UNUSED__)
{
if ((ecore_x_error_request_get() == X_ChangeWindowAttributes) &&
- (ecore_x_error_code_get() == ECORE_X_ERROR_CODE_BAD_ACCESS))
+ (ecore_x_error_code_get() == BadAccess))
_ecore_x_window_manage_failed = 1;
}
*
* Return the error code from the last X error
*/
-EAPI Ecore_X_Error_Code
+EAPI int
ecore_x_error_code_get(void)
{
return _error_code;