[Pkg-e-commits] [SCM] Core abstraction layer for enlightenment DR 0.17 branch, upstream-vcs, updated. 98d240691fd24204abf805e11fe4f8671c183119

raster raster at alioth.debian.org
Wed May 21 18:31:17 UTC 2008


The following commit has been merged in the upstream-vcs branch:
commit c4cd3c2079f6270152c0fefc791d91e0c477220d
Author: raster <raster>
Date:   Mon May 19 04:15:34 2008 +0000

    use the cancel on a mouse out with grab

diff --git a/src/lib/ecore_evas/ecore_evas_x.c b/src/lib/ecore_evas/ecore_evas_x.c
index ad87a69..adf2a19 100644
--- a/src/lib/ecore_evas/ecore_evas_x.c
+++ b/src/lib/ecore_evas/ecore_evas_x.c
@@ -903,6 +903,8 @@ _ecore_evas_x_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *
 /* if (e->mode != ECORE_X_EVENT_MODE_NORMAL) return 0; */
    _ecore_evas_x_modifier_locks_update(ee, e->modifiers);
    _ecore_evas_x_mouse_move_process(ee, e->x, e->y, e->time);
+   if (e->mode == ECORE_X_EVENT_MODE_GRAB)
+     evas_event_feed_mouse_cancel(ee->evas, e->time, NULL);
    evas_event_feed_mouse_out(ee->evas, e->time, NULL);
    if (ee->func.fn_mouse_out) ee->func.fn_mouse_out(ee);
    if (ee->prop.cursor.object) evas_object_hide(ee->prop.cursor.object);

-- 
Core abstraction layer for enlightenment DR 0.17



More information about the Pkg-e-commits mailing list