be a bit more generous on the enter/leave events... i wonder why i did this

to start with...


SVN revision: 12146
This commit is contained in:
Carsten Haitzler 2004-11-08 00:23:59 +00:00
parent db82afca3b
commit 73e9cce533
1 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ _ecore_evas_event_mouse_in(void *data, int type, void *event)
ee = _ecore_evas_x_match(e->win);
if (!ee) return 1; /* pass on event */
if (e->event_win == ee->engine.x.win_container) return 0;
if (e->mode != ECORE_X_EVENT_MODE_NORMAL) return 0;
/* if (e->mode != ECORE_X_EVENT_MODE_NORMAL) return 0; */
if (ee->func.fn_mouse_in) ee->func.fn_mouse_in(ee);
_ecore_evas_modifier_locks_update(ee, e->modifiers);
evas_event_feed_mouse_in(ee->evas);
@ -229,7 +229,7 @@ _ecore_evas_event_mouse_out(void *data, int type, void *event)
ee = _ecore_evas_x_match(e->win);
if (!ee) return 1; /* pass on event */
if (e->event_win == ee->engine.x.win_container) return 0;
if (e->mode != ECORE_X_EVENT_MODE_NORMAL) return 0;
/* if (e->mode != ECORE_X_EVENT_MODE_NORMAL) return 0; */
_ecore_evas_modifier_locks_update(ee, e->modifiers);
_ecore_evas_mouse_move_process(ee, e->x, e->y);
evas_event_feed_mouse_out(ee->evas);