Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_evas


Modified Files:
        ecore_evas_x.c 


Log Message:
i think this is the right way to fix the subwindow issue. e->event_win is the window 
the event originally occured in, while the value of e->win depends on whether it's a 
subwindow crossing or not. spank me if i'm wrong.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_evas/ecore_evas_x.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- ecore_evas_x.c      12 Jul 2004 06:53:58 -0000      1.19
+++ ecore_evas_x.c      12 Jul 2004 17:53:37 -0000      1.20
@@ -210,7 +210,7 @@
    e = event;
    ee = _ecore_evas_x_match(e->win);
    if (!ee) return 1; /* pass on event */
-   if (e->win == ee->engine.x.win_container) return 0;
+   if (e->event_win == ee->engine.x.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);
@@ -227,7 +227,7 @@
    e = event;
    ee = _ecore_evas_x_match(e->win);
    if (!ee) return 1; /* pass on event */
-   if (e->win == ee->engine.x.win_container) return 0;
+   if (e->event_win == ee->engine.x.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);




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to