Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        moveresize.c 


Log Message:
Fix non-opaque moving window with transients.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/moveresize.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- moveresize.c        18 May 2004 23:31:07 -0000      1.15
+++ moveresize.c        19 May 2004 19:29:31 -0000      1.16
@@ -24,9 +24,6 @@
 
 static EWin        *mode_moveresize_ewin = NULL;
 
-static int          start_move_desk = 0;
-static int          start_move_x = 0;
-static int          start_move_y = 0;
 static int          real_move_mode = 0;
 
 int
@@ -63,7 +60,6 @@
    Mode.win_w = ewin->client.w;
    Mode.win_h = ewin->client.h;
    Mode.firstlast = 0;
-   start_move_desk = ewin->desktop;
 
    gwins = ListWinGroupMembersForEwin(ewin, ACTION_MOVE, nogroup
                                      || Mode.swapmovemode, &num);
@@ -82,8 +78,8 @@
      }
    Efree(gwins);
    Mode.firstlast = 1;
-   Mode.swapcoord_x = start_move_x = ewin->x;
-   Mode.swapcoord_y = start_move_y = ewin->y;
+   Mode.swapcoord_x = ewin->x;
+   Mode.swapcoord_y = ewin->y;
    EDBUG_RETURN(0);
    params = NULL;
 }
@@ -153,23 +149,6 @@
             gwins[i]->floating = 0;
          }
 
-       if ((Conf.movemode > 0) && (gwins[i]->has_transients))
-         {
-            EWin              **lst;
-            int                 j, num2;
-            int                 dx, dy;
-
-            dx = ewin->x - start_move_x;
-            dy = ewin->y - start_move_y;
-
-            lst = ListTransientsFor(gwins[i]->client.win, &num2);
-            if (lst)
-              {
-                 for (j = 0; j < num2; j++)
-                    MoveEwin(lst[j], lst[j]->x + dx, lst[j]->y + dy);
-                 Efree(lst);
-              }
-         }
        RaiseEwin(gwins[i]);
        ICCCM_Configure(gwins[i]);
      }




-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to