#define DEFAULT_QUICKPANEL_AREA_SIZE 60
#define DEFAULT_LONGPRESS_TIMEOUT 0.4
-#define DEFAULT_INVALID_AREA_SIZE 0
#define ACCESSIBILITY_CONFIG "Screen_Reader_Accessibility_Config"
#define MODULE_ACCESSIBILITY "module.screen_reader.accessibility"
aconfig->conf = E_NEW(E_Accessibility_Conf_Edd, 1);
EINA_SAFETY_ON_NULL_RETURN(aconfig->conf);
- if (aconfig->conf->gesture.quickpanel_area_size <= 0)
+ if (aconfig->conf->gesture.quickpanel_area_size == 0)
aconfig->conf->gesture.quickpanel_area_size = DEFAULT_QUICKPANEL_AREA_SIZE;
if (aconfig->conf->gesture.longpress_timeout <= 0.0)
aconfig->conf->gesture.longpress_timeout = DEFAULT_LONGPRESS_TIMEOUT;
- if (aconfig->conf->gesture.invalid_area_size.top < 0)
- aconfig->conf->gesture.invalid_area_size.top = DEFAULT_INVALID_AREA_SIZE;
- if (aconfig->conf->gesture.invalid_area_size.bottom < 0)
- aconfig->conf->gesture.invalid_area_size.bottom = DEFAULT_INVALID_AREA_SIZE;
}
void