Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        iconify.c pager.c 


Log Message:
Quick fix for now.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/iconify.c,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -3 -r1.152 -r1.153
--- iconify.c   25 May 2005 21:42:58 -0000      1.152
+++ iconify.c   26 May 2005 22:38:28 -0000      1.153
@@ -502,6 +502,8 @@
 
    if (!resize && !ib->do_update && !TransparencyEnabled())
       return;
+   if (ib->w <= 0 || ib->h <= 0)
+      return;
 
    IconboxDraw(ib);
    ib->do_update = 0;
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/pager.c,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -3 -r1.144 -r1.145
--- pager.c     26 May 2005 21:31:27 -0000      1.144
+++ pager.c     26 May 2005 22:38:28 -0000      1.145
@@ -499,7 +499,7 @@
 
    w = ewin->client.w;
    h = ewin->client.h;
-   if ((w == p->w) && (h == p->h))
+   if ((w == p->w && h == p->h) || w <= 1 || h <= 1)
       return;
 
    GetAreaSize(&ax, &ay);




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to