Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        ewin-ops.c 


Log Message:
Too many pager updates.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/ewin-ops.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- ewin-ops.c  12 May 2005 22:38:00 -0000      1.34
+++ ewin-ops.c  14 May 2005 13:01:45 -0000      1.35
@@ -469,7 +469,8 @@
 
        SnapshotEwinUpdate(ewin, SNAP_USE_POS | SNAP_USE_SIZE);
 
-       ModulesSignal(ESIGNAL_EWIN_CHANGE, ewin);
+       if (call_depth == 1)    /* FIXME - Remove */
+          ModulesSignal(ESIGNAL_EWIN_CHANGE, ewin);
      }
 
    if (Mode.mode == MODE_NONE && desk != pdesk)
@@ -477,7 +478,7 @@
        HintsSetWindowDesktop(ewin);
        SnapshotEwinUpdate(ewin, SNAP_USE_DESK);
 
-       if (call_depth == 1)
+       if (call_depth == 1)    /* FIXME - Remove */
          {
             if (EoIsShown(ewin))
               {
@@ -798,16 +799,15 @@
        break;
      }
 
+   Mode.queue_up = pq;
+
    ewin->shaded = 2;
    EoMoveResize(ewin, x, y, w, h);
    EMoveResizeWindow(ewin->win_container, -30, -30, 1, 1);
    EwinBorderCalcSizes(ewin);
    ESync();
 
-   Mode.queue_up = pq;
-
    HintsSetWindowState(ewin);
-   ModulesSignal(ESIGNAL_EWIN_CHANGE, ewin);
 }
 
 void
@@ -861,6 +861,8 @@
        break;
      }
 
+   Mode.queue_up = pq;
+
    /* Reset gravity */
    att.win_gravity = NorthWestGravity;
    EChangeWindowAttributes(ewin->client.win, CWWinGravity, &att);
@@ -869,9 +871,7 @@
    MoveResizeEwin(ewin, x, y, ewin->client.w, ewin->client.h);
    ESync();
 
-   Mode.queue_up = pq;
    HintsSetWindowState(ewin);
-   ModulesSignal(ESIGNAL_EWIN_CHANGE, ewin);
 }
 
 void
@@ -1061,6 +1061,8 @@
        break;
      }
 
+   Mode.queue_up = pq;
+
    ewin->shaded = 2;
    EMoveResizeWindow(ewin->win_container, -30, -30, 1, 1);
    if (ewin->client.shaped)
@@ -1074,10 +1076,7 @@
    Eprintf("EwinShade-E\n");
 #endif
 
-   Mode.queue_up = pq;
-
    HintsSetWindowState(ewin);
-   ModulesSignal(ESIGNAL_EWIN_CHANGE, ewin);
 }
 
 void
@@ -1287,6 +1286,8 @@
        break;
      }
 
+   Mode.queue_up = pq;
+
    /* Reset gravity */
    att.win_gravity = NorthWestGravity;
    EChangeWindowAttributes(ewin->client.win, CWWinGravity, &att);
@@ -1304,10 +1305,7 @@
    Eprintf("EwinUnShade-E\n");
 #endif
 
-   Mode.queue_up = pq;
-
    HintsSetWindowState(ewin);
-   ModulesSignal(ESIGNAL_EWIN_CHANGE, ewin);
 }
 
 void




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to