Enlightenment CVS committal
Author : moom
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/canvas
Modified Files:
evas_callbacks.c
Log Message:
* Fix a bug with double-click
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_callbacks.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- evas_callbacks.c 25 Aug 2006 20:47:32 -0000 1.25
+++ evas_callbacks.c 6 Oct 2006 19:13:33 -0000 1.26
@@ -212,25 +212,24 @@
obj->callbacks->walking_list--;
if (!obj->callbacks->walking_list)
evas_object_event_callback_clear(obj);
+
+ if (type == EVAS_CALLBACK_MOUSE_DOWN)
+ {
+ Evas_Event_Mouse_Down *ev = event_info;
+ ev->flags = flags;
+ }
+ else if (type == EVAS_CALLBACK_MOUSE_UP)
+ {
+ Evas_Event_Mouse_Up *ev = event_info;
+ ev->flags = flags;
+ }
}
if ((obj->no_propagate) && (l_mod) && (*l_mod)) return;
if ((obj->smart.parent) &&
(type != EVAS_CALLBACK_FREE) &&
(type <= EVAS_CALLBACK_KEY_UP))
- {
- if (type == EVAS_CALLBACK_MOUSE_DOWN)
- {
- Evas_Event_Mouse_Down *ev = event_info;
- ev->flags = flags;
- }
- else if (type == EVAS_CALLBACK_MOUSE_UP)
- {
- Evas_Event_Mouse_Up *ev = event_info;
- ev->flags = flags;
- }
evas_object_event_callback_call(obj->smart.parent, type, event_info);
- }
}
/**
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs