AtspiText *text = NULL;
AtspiValue *value = NULL;
AtspiStateSet *ss = NULL;
+ AtspiComponent *component;
+ AtspiRect *extent;
AtspiRole r = atspi_accessible_get_role(obj, NULL);
return EINA_FALSE;
}
+ /* Extent of candidate object could be 0 */
+ component = atspi_accessible_get_component_iface(obj);
+ extent = atspi_component_get_extents(component, ATSPI_COORD_TYPE_SCREEN, NULL);
+
+ if (extent->width <= 0 || extent->height <= 0) ret = EINA_FALSE;
+
+ g_free(extent);
+
+ if (!ret)
+ return ret;
+
ss = atspi_accessible_get_state_set(obj);
if (ss) {
if (_object_is_item(obj)) {