Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        icccm.c iconify.c 


Log Message:
Ignore ICCCM iconify while unmapped.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/icccm.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -3 -r1.78 -r1.79
--- icccm.c     7 Aug 2004 21:00:09 -0000       1.78
+++ icccm.c     24 Oct 2004 10:10:13 -0000      1.79
@@ -98,8 +98,7 @@
 
        if (event->data.l[0] == IconicState)
          {
-            if (!(ewin->iconified))
-               IconifyEwin(ewin);
+            IconifyEwin(ewin);
          }
      }
    else if (event->message_type == E_XA_WM_PROTOCOLS)
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/iconify.c,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -3 -r1.119 -r1.120
--- iconify.c   19 Sep 2004 09:27:38 -0000      1.119
+++ iconify.c   24 Oct 2004 10:10:14 -0000      1.120
@@ -210,14 +210,14 @@
    EDBUG(6, "IconboxIconifyEwin");
    if (!ewin)
       EDBUG_RETURN_;
+   if (ewin->state != EWIN_STATE_MAPPED)
+      EDBUG_RETURN_;
+
    if (GetZoomEWin() == ewin)
       Zoom(NULL);
    if (ewin->ibox)
       EDBUG_RETURN_;
 
-   if (ewin->state == EWIN_STATE_ICONIC)
-      EDBUG_RETURN_;
-
    if (call_depth > 256)
       EDBUG_RETURN_;
    call_depth++;




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to