Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_evas
Modified Files:
ecore_evas_x.c
Log Message:
ok fixed visibility event. now it works as planned.
===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_evas/ecore_evas_x.c,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -3 -r1.110 -r1.111
--- ecore_evas_x.c 27 Sep 2007 15:31:00 -0000 1.110
+++ ecore_evas_x.c 27 Sep 2007 15:43:08 -0000 1.111
@@ -757,7 +757,7 @@
e = event;
ee = _ecore_evas_x_match(e->win);
- if ((!ee) || (ee->ignore_events)) return 1; /* pass on event */
+ if (!ee) return 1; /* pass on event */
if (e->win != ee->engine.x.win) return 1;
// printf("VIS CHANGE OBSCURED: %p %i\n", ee, e->fully_obscured);
if (e->fully_obscured) ee->draw_ok = 0;
@@ -1106,6 +1106,7 @@
if (!ee) return 1; /* pass on event */
if (e->win != ee->engine.x.win) return 1;
if (!ee->visible) return 0; /* dont pass it on */
+// printf("HIDE EVENT %p\n", ee);
ee->visible = 0;
ee->draw_ok = 0;
if (ee->func.fn_hide) ee->func.fn_hide(ee);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs