ev.locks = &(e->locks);
ev.flags = flags;
ev.timestamp = timestamp;
+ if (ev.flags & (EVAS_BUTTON_DOUBLE_CLICK | EVAS_BUTTON_TRIPLE_CLICK))
+ {
+ if (obj->last_click_counter < (e->last_click_counter - 1))
+ ev.flags &= ~(EVAS_BUTTON_DOUBLE_CLICK | EVAS_BUTTON_TRIPLE_CLICK);
+ }
if (e->events_frozen <= 0)
evas_object_event_callback_call(obj, EVAS_CALLBACK_MOUSE_DOWN, &ev);
+ obj->last_click_counter = e->last_click_counter;
}
if (copy) copy = evas_list_free(copy);
+ e->last_click_counter++;
}
/**
Evas_Lock locks;
unsigned int last_timestamp;
void *attach_data;
+ int last_click_counter;
};
struct _Evas_Layer
unsigned char deletions_waiting : 1;
} smart;
+ int last_click_counter;
int mouse_grabbed;
unsigned short store : 1;