Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
ecompmgr.c eobj.c
Log Message:
Fix extents invalidation when reparenting+moving while unmapped.
===================================================================
RCS file: /cvs/e/e16/e/src/ecompmgr.c,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -3 -r1.153 -r1.154
--- ecompmgr.c 20 May 2007 08:08:58 -0000 1.153
+++ ecompmgr.c 27 May 2007 21:21:32 -0000 1.154
@@ -1667,6 +1667,13 @@
EobjGetXwin(eo), cw->extents, eo->desk->num, dsk->num,
EobjGetX(eo), EobjGetY(eo), change_xy);
+ if (!eo->shown)
+ {
+ if (change_xy)
+ ECompMgrWinInvalidate(eo, INV_POS);
+ return;
+ }
+
/* Invalidate old window region */
if (EDebug(EDBUG_TYPE_COMPMGR3))
ERegionShow("old-extents:", cw->extents);
===================================================================
RCS file: /cvs/e/e16/e/src/eobj.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -3 -r1.93 -r1.94
--- eobj.c 20 May 2007 08:08:58 -0000 1.93
+++ eobj.c 27 May 2007 21:21:32 -0000 1.94
@@ -452,7 +452,7 @@
if (eo->desk != dsk)
DeskSetDirtyStack(dsk, eo);
#if USE_COMPOSITE
- if (eo->shown && eo->cmhook)
+ if (eo->cmhook)
ECompMgrWinReparent(eo, dsk, move);
#endif
eo->desk = dsk;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs