aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_callbacks.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-12-16 14:35:52 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-12-16 14:35:52 +0900
commite3b8bcc7710e489021b10374c7dddde877212749 (patch)
tree0f2b00a513b0abfaf9356d71ac2addf3be1704cc /src/lib/evas/canvas/evas_callbacks.c
parentevas: Fix masks of masks (diff)
downloadefl-e3b8bcc7710e489021b10374c7dddde877212749.tar.gz
evas: Change int into a single bit
clean_layer is a bool
Diffstat (limited to 'src/lib/evas/canvas/evas_callbacks.c')
-rw-r--r--src/lib/evas/canvas/evas_callbacks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/evas/canvas/evas_callbacks.c b/src/lib/evas/canvas/evas_callbacks.c
index 3487543617..f67b0c2f89 100644
--- a/src/lib/evas/canvas/evas_callbacks.c
+++ b/src/lib/evas/canvas/evas_callbacks.c
@@ -324,9 +324,9 @@ evas_object_event_callback_call(Evas_Object *eo_obj, Evas_Object_Protected_Data
if (!obj) return;
if ((obj->delete_me) || (!obj->layer)) return;
- if ((obj->last_event == event_id) &&
+ if ((obj->last_event_id == event_id) &&
(obj->last_event_type == type)) return;
- if (obj->last_event > event_id)
+ if (obj->last_event_id > event_id)
{
if ((obj->last_event_type == EVAS_CALLBACK_MOUSE_OUT) &&
((type >= EVAS_CALLBACK_MOUSE_DOWN) &&
@@ -335,7 +335,7 @@ evas_object_event_callback_call(Evas_Object *eo_obj, Evas_Object_Protected_Data
return;
}
}
- obj->last_event = event_id;
+ obj->last_event_id = event_id;
obj->last_event_type = type;
if (!(e = obj->layer->evas)) return;