Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        moveresize.c 


Log Message:
Fix non-group move by pointer.

===================================================================
RCS file: /cvs/e/e16/e/src/moveresize.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -3 -r1.69 -r1.70
--- moveresize.c        3 May 2006 20:52:15 -0000       1.69
+++ moveresize.c        28 May 2006 10:12:25 -0000      1.70
@@ -38,6 +38,7 @@
    int                 win_x, win_y, win_w, win_h;
    int                 swapcoord_x, swapcoord_y;
    int                 resize_detail;
+   char                nogroup;
 } Mode_mr;
 
 void
@@ -71,6 +72,7 @@
       return 0;
 
    Mode_mr.ewin = ewin;
+   Mode_mr.nogroup = nogroup;
 
    SoundPlay("SOUND_MOVE_START");
 
@@ -134,7 +136,7 @@
 
    ewin->state.show_coords = 0;
 
-   gwins = ListWinGroupMembersForEwin(ewin, GROUP_ACTION_MOVE, Mode.nogroup
+   gwins = ListWinGroupMembersForEwin(ewin, GROUP_ACTION_MOVE, Mode_mr.nogroup
                                      || Mode.move.swap, &num);
 
    if (Mode.mode == MODE_MOVE)
@@ -171,7 +173,6 @@
 
  done:
    Mode.mode = MODE_NONE;
-   Mode.nogroup = 0;
    Mode.move.swap = 0;
    Mode.place.doing_manual = 0;
 
@@ -201,9 +202,8 @@
    /* If non opaque undraw our boxes */
    if (Mode_mr.mode > 0)
      {
-       lst =
-          ListWinGroupMembersForEwin(ewin, GROUP_ACTION_MOVE, Mode.nogroup,
-                                     &num);
+       lst = ListWinGroupMembersForEwin(ewin, GROUP_ACTION_MOVE,
+                                        Mode_mr.nogroup, &num);
        for (i = 0; i < num; i++)
          {
             ewin = lst[i];
@@ -244,8 +244,8 @@
    dy = Mode.events.y - Mode_mr.win_y - EoGetY(EoGetDesk(ewin)) - 
ewin->shape_y;
 
    /* Redraw any windows that were in "move mode" */
-   lst =
-      ListWinGroupMembersForEwin(ewin, GROUP_ACTION_MOVE, Mode.nogroup, &num);
+   lst = ListWinGroupMembersForEwin(ewin, GROUP_ACTION_MOVE,
+                                   Mode_mr.nogroup, &num);
    for (i = 0; i < num; i++)
      {
        ewin = lst[i];
@@ -441,7 +441,7 @@
    EdgeCheckMotion(Mode.events.x, Mode.events.y);
 
    gwins = ListWinGroupMembersForEwin(ewin, GROUP_ACTION_MOVE,
-                                     Mode.nogroup || Mode.move.swap, &num);
+                                     Mode_mr.nogroup || Mode.move.swap, &num);
 
    if (Mode.mode == MODE_MOVE_PENDING)
      {




-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to