Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        evhandlers.c 


Log Message:
Removed some dead code.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/evhandlers.c,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -3 -r1.133 -r1.134
--- evhandlers.c        4 Jan 2004 18:07:18 -0000       1.133
+++ evhandlers.c        6 Jan 2004 19:37:04 -0000       1.134
@@ -1000,59 +1000,7 @@
 void
 HandleReparent(XEvent * ev)
 {
-   Window              par;
-   EWin               *ewin, *ewin2;
-   void              **lst;
-   int                 i, num, found = 0;
-
    EDBUG(5, "HandleReparent");
-   par = ev->xreparent.window;
-   EDBUG_RETURN_;
-   ewin = FindItem(NULL, ev->xreparent.window, LIST_FINDBY_ID, LIST_TYPE_EWIN);
-   if (!ewin)
-      EDBUG_RETURN_;
-   lst = ListItemType(&num, LIST_TYPE_EWIN);
-   if ((lst) && (num > 0))
-     {
-       for (i = 0; i < num; i++)
-         {
-            ewin2 = (EWin *) lst[i];
-            if (ewin2->win == ev->xreparent.parent)
-               found = 1;
-         }
-     }
-   if (lst)
-      Efree(lst);
-   if (!found)
-     {
-       ewin =
-          RemoveItem(NULL, ev->xreparent.window, LIST_FINDBY_ID,
-                     LIST_TYPE_EWIN);
-       if (ewin)
-         {
-            if (ewin == mode.ewin)
-              {
-                 switch (mode.mode)
-                   {
-                   case MODE_RESIZE:
-                   case MODE_RESIZE_H:
-                   case MODE_RESIZE_V:
-                      doResizeEnd(NULL);
-                      break;
-                   case MODE_MOVE:
-                      doMoveEnd(NULL);
-                      break;
-                   default:
-                      break;
-                   }
-              }
-            ewin->client.win = 0;
-            if ((mode.slideout) && (ewin == mode.ewin))
-               HideSlideout(mode.slideout, mode.context_win);
-            FreeEwin(ewin);
-            HintsSetClientList();
-         }
-     }
    EDBUG_RETURN_;
 }
 




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to