static struct _info {
GHashTable *prov_table;
+ Eina_Bool mouse_event_blocker;
} s_info = {
.prov_table = NULL,
+ .mouse_event_blocker = EINA_TRUE,
};
void _minictrl_sendview_rotation_event(const char* name, int angle);
Evas_Event_Mouse_Down *ev;
struct _viewer_item *vit;
+ if (s_info.mouse_event_blocker == EINA_TRUE) {
+ s_info.mouse_event_blocker = EINA_FALSE;
+ }
+
vit = evas_object_data_get(obj, MINICONTROL_VIEW_DATA);
ev = (Evas_Event_Mouse_Down *)event_info;
struct _viewer_item *vit;
struct appdata *ad;
+ if (s_info.mouse_event_blocker == EINA_TRUE) {
+ return;
+ }
+
ad = data;
ev = event_info;
vit = evas_object_data_get(obj, MINICONTROL_VIEW_DATA);
struct appdata *ad;
int swipe_distance;
+ if (s_info.mouse_event_blocker == EINA_FALSE) {
+ s_info.mouse_event_blocker = EINA_TRUE;
+ }
+
ad = data;
vit = evas_object_data_get(obj, MINICONTROL_VIEW_DATA);
if (!vit || !ad) {
.handler = NULL,
},
};
-
+
vi = data;
if (!vi) {
ERR("Invalid parameter");
static struct _info {
int item_debug_step;
Noti_View_H *view_handlers[NOTIFICATION_LY_MAX + 1];
+ Eina_Bool mouse_event_blocker;
} s_info = {
.item_debug_step = 0,
.view_handlers = {
&ongoing_noti_view_h,
NULL,
},
+ .mouse_event_blocker = EINA_TRUE,
};
static int _is_item_deletable_by_gesture(noti_list_item_h *handler)
Evas_Event_Mouse_Down *ev = (Evas_Event_Mouse_Down *)event_info;
retif(ev == NULL, , "event_info is NULL");
+ if (s_info.mouse_event_blocker == EINA_TRUE) {
+ s_info.mouse_event_blocker = EINA_FALSE;
+ }
+
handler = _item_handler_get(obj);
retif(handler == NULL, , "handler is NULL");
QP_VI *vi = NULL;
retif(ev == NULL, , "event_info is NULL");
+ if (s_info.mouse_event_blocker == EINA_TRUE) {
+ return;
+ }
+
handler = _item_handler_get(obj);
retif(handler == NULL, , "handler is NULL");
int x = 0;
noti_list_item_h *handler;
+ if (s_info.mouse_event_blocker == EINA_FALSE) {
+ s_info.mouse_event_blocker = EINA_TRUE;
+ }
+
handler = _item_handler_get(obj);
retif(handler == NULL, , "handler is NULL");