Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        desktops.c draw.c eobj.c ewins.c glwin.c magwin.c 


Log Message:
Cleanups.

===================================================================
RCS file: /cvs/e/e16/e/src/desktops.c,v
retrieving revision 1.277
retrieving revision 1.278
diff -u -3 -r1.277 -r1.278
--- desktops.c  19 Jan 2008 13:38:51 -0000      1.277
+++ desktops.c  13 Feb 2008 20:51:00 -0000      1.278
@@ -1924,9 +1924,6 @@
                   ev->xany.window, pmap);
        if (ev->xany.window != VRoot.xwin)
           return;
-#if 0                          /* FIXME - Remove? Or was this here for a 
reason? */
-       dsk->bg.pmap_set = pmap;
-#endif
        if (pmap == dsk->bg.pmap)
           return;
        if (pmap == Mode.root.ext_pmap)
===================================================================
RCS file: /cvs/e/e16/e/src/draw.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -3 -r1.113 -r1.114
--- draw.c      15 Dec 2007 12:31:33 -0000      1.113
+++ draw.c      13 Feb 2008 20:51:00 -0000      1.114
@@ -296,19 +296,6 @@
    if (firstlast == 0)
       EwinShapeSet(ewin);
 
-#if 0                          /* FIXME - Remove? */
-   if ((Mode.mode == MODE_RESIZE) || (Mode.mode == MODE_RESIZE_H)
-       || (Mode.mode == MODE_RESIZE_V))
-     {
-       int                 i, j;
-
-       i = (x - ewin->shape_x) / ewin->icccm.w_inc;
-       j = (y - ewin->shape_y) / ewin->icccm.h_inc;
-       x = ewin->shape_x + (i * ewin->icccm.w_inc);
-       y = ewin->shape_y + (j * ewin->icccm.h_inc);
-     }
-#endif
-
    dx = EoGetX(EoGetDesk(ewin));
    dy = EoGetY(EoGetDesk(ewin));
    x1 = ewin->shape_x + dx;
===================================================================
RCS file: /cvs/e/e16/e/src/eobj.c,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -3 -r1.97 -r1.98
--- eobj.c      10 Feb 2008 20:21:53 -0000      1.97
+++ eobj.c      13 Feb 2008 20:51:00 -0000      1.98
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2007 Kim Woelders
+ * Copyright (C) 2004-2008 Kim Woelders
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to
@@ -640,10 +640,6 @@
 {
    int                 k, x, y, w, h;
 
-#if 0                          /* FIXME - Need this? */
-   EGrabServer();
-#endif
-
    ETimedLoopInit(0, 1024, speed);
    for (k = 0; k <= 1024;)
      {
@@ -656,10 +652,6 @@
        k = ETimedLoopNext();
      }
    EobjMoveResize(eo, tx, ty, tw, th);
-
-#if 0                          /* FIXME - Need this? */
-   EUngrabServer();
-#endif
 }
 
 void
===================================================================
RCS file: /cvs/e/e16/e/src/ewins.c,v
retrieving revision 1.217
retrieving revision 1.218
diff -u -3 -r1.217 -r1.218
--- ewins.c     10 Feb 2008 20:21:53 -0000      1.217
+++ ewins.c     13 Feb 2008 20:51:00 -0000      1.218
@@ -527,21 +527,9 @@
 {
    EWin               *ewin;
 
-#if 0                          /* FIXME - Remove? */
-   ewin = Mode.mouse_over_ewin;
-   if (ewin && ewin->type != EWIN_TYPE_MENU)
-      return ewin;
-#endif
-
    ewin = Mode.context_ewin;
    if (ewin)
       goto done;
-
-#if 0                          /* FIXME - Remove? */
-   ewin = Mode.focuswin;
-   if (ewin && ewin->type != EWIN_TYPE_MENU)
-      goto done;
-#endif
 
    ewin = NULL;
 
===================================================================
RCS file: /cvs/e/e16/e/src/glwin.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- glwin.c     28 Jan 2008 21:09:39 -0000      1.7
+++ glwin.c     13 Feb 2008 20:51:00 -0000      1.8
@@ -748,12 +748,6 @@
      {
        GlwinInit();
      }
-#if 0                          /* FIXME - Remove? */
-   else if (!strcmp(cmd, "stop"))
-     {
-       GlwinExit();
-     }
-#endif
 }
 
 static const IpcItem GlwinIpcArray[] = {
===================================================================
RCS file: /cvs/e/e16/e/src/magwin.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- magwin.c    24 Jan 2008 18:37:45 -0000      1.7
+++ magwin.c    13 Feb 2008 20:51:00 -0000      1.8
@@ -465,17 +465,6 @@
    EwinShow(MagWin->ewin);
 }
 
-#if 0                          /* FIXME - Remove? */
-static void
-MagwinHide(void)
-{
-   if (!MagWin)
-      return;
-
-   EwinHide(MagWin->ewin);
-}
-#endif
-
 /*
  * MagWin Module
  */
@@ -500,12 +489,6 @@
      {
        MagwinShow();
      }
-#if 0                          /* FIXME - Remove? */
-   else if (!strcmp(cmd, "hide"))
-     {
-       MagwinHide();
-     }
-#endif
 }
 
 static const IpcItem MagwinIpcArray[] = {



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to