#define LOG_TAG "TIZEN_N_EFL_UTIL"
#define EFL_UTIL_INPUT_GENERATOR_TOUCH_MAX_FINGER 10
+#define NUM_EVENT_WAIT_DONE_COUNT 5
+
typedef struct _Efl_Util_Wl_Surface_Lv_Info
{
void *surface; /* wl_surface */
if (lv_info->wait_for_done)
{
int count = 0;
- while (lv_info->wait_for_done && (count < 3))
+ while (lv_info->wait_for_done && (count < NUM_EVENT_WAIT_DONE_COUNT))
{
ecore_wl2_display_flush(_eflutil.wl.wl2_display);
wl_display_dispatch_queue(_eflutil.wl.dpy, _eflutil.wl.queue);
if (lv_info->wait_for_done)
{
int count = 0;
- while ((lv_info->wait_for_done) && (count < 3))
+ while ((lv_info->wait_for_done) && (count < NUM_EVENT_WAIT_DONE_COUNT))
{
ecore_wl2_display_flush(_eflutil.wl.wl2_display);
wl_display_dispatch_queue(_eflutil.wl.dpy, _eflutil.wl.queue);
if (scr_mode_info->wait_for_done)
{
int count = 0;
- while (scr_mode_info->wait_for_done && (count < 3))
+ while (scr_mode_info->wait_for_done && (count < NUM_EVENT_WAIT_DONE_COUNT))
{
ecore_wl2_display_flush(_eflutil.wl.wl2_display);
wl_display_dispatch_queue(_eflutil.wl.dpy, _eflutil.wl.queue);
if (brightness_info->wait_for_done)
{
int count = 0;
- while (brightness_info->wait_for_done && (count < 3))
+ while (brightness_info->wait_for_done && (count < NUM_EVENT_WAIT_DONE_COUNT))
{
ecore_wl2_display_flush(_eflutil.wl.wl2_display);
wl_display_dispatch_queue(_eflutil.wl.dpy, _eflutil.wl.queue);