ignore container enter/leaves

SVN revision: 10788
This commit is contained in:
Carsten Haitzler 2004-07-12 05:15:53 +00:00
parent 6f6bb49116
commit 50476cba0c
1 changed files with 2 additions and 0 deletions

View File

@ -210,6 +210,7 @@ _ecore_evas_event_mouse_in(void *data, int type, void *event)
e = event;
ee = _ecore_evas_x_match(e->win);
if (!ee) return 1; /* pass on event */
if (e->win == win_container) 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);
@ -226,6 +227,7 @@ _ecore_evas_event_mouse_out(void *data, int type, void *event)
e = event;
ee = _ecore_evas_x_match(e->win);
if (!ee) return 1; /* pass on event */
if (e->win == win_container) 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);