Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        E.h snaps.c 


Log Message:
Remove unused MatchEwinToSnapInfoAfter().
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.199
retrieving revision 1.200
diff -u -3 -r1.199 -r1.200
--- E.h 8 Feb 2004 16:39:07 -0000       1.199
+++ E.h 8 Feb 2004 17:02:26 -0000       1.200
@@ -2447,7 +2447,6 @@
 void                LoadSnapInfo(void);
 void                MatchEwinToSnapInfo(EWin * ewin);
 void                UnmatchEwinToSnapInfo(EWin * ewin);
-void                MatchEwinToSnapInfoAfter(EWin * ewin);
 void                RememberImportantInfoForEwin(EWin * ewin);
 void                RememberImportantInfoForEwins(EWin * ewin);
 
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/snaps.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -3 -r1.57 -r1.58
--- snaps.c     19 Jan 2004 22:30:34 -0000      1.57
+++ snaps.c     8 Feb 2004 17:02:27 -0000       1.58
@@ -1307,115 +1307,6 @@
 }
 
 void
-MatchEwinToSnapInfoAfter(EWin * ewin)
-{
-   Snapshot           *sn;
-   int                 i;
-
-   sn = FindSnapshot(ewin);
-   if (!sn)
-      return;
-
-   ewin->snap = sn;
-   sn->used = 1;
-   ListChangeItemID(LIST_TYPE_SNAPSHOT, ewin->snap, 1);
-   if (sn->use_desktop)
-      MoveEwinToDesktop(ewin, sn->desktop);
-   if (sn->use_wh)
-      ResizeEwin(ewin, sn->w, sn->h);
-   if (sn->use_xy)
-     {
-       if ((ewin->pager) || (ewin->ibox))
-          MoveEwin(ewin, sn->x - ewin->border->border.left,
-                   sn->y - ewin->border->border.top);
-       else
-         {
-            if ((!((sn->use_sticky) && (sn->sticky))) && (!ewin->sticky))
-              {
-                 if (sn->use_desktop)
-                    MoveEwin(ewin,
-                             sn->x +
-                             ((sn->area_x -
-                               desks.desk[ewin->desktop].current_area_x) *
-                              root.w),
-                             sn->y +
-                             ((sn->area_y
-                               -
-                               desks.desk[ewin->desktop].current_area_y) *
-                              root.h));
-                 else
-                    MoveEwin(ewin,
-                             sn->x +
-                             ((sn->area_x
-                               -
-                               desks.desk[desks.current].current_area_x) *
-                              root.w),
-                             sn->y +
-                             ((sn->area_y
-                               -
-                               desks.desk[desks.current].current_area_y) *
-                              root.h));
-              }
-            else
-               MoveEwin(ewin, sn->x, sn->y);
-         }
-     }
-   if (sn->use_layer)
-     {
-       ewin->layer = sn->layer;
-       RaiseEwin(ewin);
-     }
-   if (sn->use_sticky)
-     {
-       if (sn->sticky)
-          MakeWindowSticky(ewin);
-       else
-          MakeWindowUnSticky(ewin);
-     }
-   if (sn->use_skiplists)
-     {
-       ewin->skipfocus = sn->skipfocus;
-       ewin->skiptask = sn->skiptask;
-       ewin->skipwinlist = sn->skipwinlist;
-     }
-   if (sn->use_neverfocus)
-      ewin->neverfocus = sn->neverfocus;
-   if (sn->use_shade)
-     {
-       if (sn->shade)
-          InstantShadeEwin(ewin, 0);
-       else
-          InstantUnShadeEwin(ewin);
-     }
-   if (sn->iclass_name)
-     {
-       /* FIXME: fill this in */
-     }
-   if (sn->border_name)
-      EwinSetBorderByName(ewin, sn->border_name, 1);
-   if (sn->groups)
-     {
-       for (i = 0; i < sn->num_groups; i++)
-         {
-            Group              *g;
-
-            g = (Group *) FindItem(NULL, sn->groups[i], LIST_FINDBY_ID,
-                                   LIST_TYPE_GROUP);
-            if (!g)
-              {
-                 BuildWindowGroup(&ewin, 1);
-                 ewin->groups[ewin->num_groups - 1]->index = sn->groups[i];
-                 ListChangeItemID(LIST_TYPE_GROUP,
-                                  ewin->groups[ewin->num_groups - 1],
-                                  sn->groups[i]);
-              }
-            else
-               AddEwinToGroup(ewin, g);
-         }
-     }
-}
-
-void
 RememberImportantInfoForEwin(EWin * ewin)
 {
    if ((ewin->pager) || (ewin->ibox))




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to