Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        E.h ewins.c focus.c startup.c 


Log Message:
Disable slide-ins until startup windows are gone.

===================================================================
RCS file: /cvs/e/e16/e/src/E.h,v
retrieving revision 1.586
retrieving revision 1.587
diff -u -3 -r1.586 -r1.587
--- E.h 16 Jun 2007 11:16:17 -0000      1.586
+++ E.h 17 Jun 2007 08:33:22 -0000      1.587
@@ -487,7 +487,7 @@
    } move;
    struct
    {
-      char                enable_features;
+      signed char         enable_features;
       char                doing_manual;
       char                doing_slide;
    } place;
===================================================================
RCS file: /cvs/e/e16/e/src/ewins.c,v
retrieving revision 1.200
retrieving revision 1.201
diff -u -3 -r1.200 -r1.201
--- ewins.c     16 Jun 2007 08:41:53 -0000      1.200
+++ ewins.c     17 Jun 2007 08:33:22 -0000      1.201
@@ -797,7 +797,7 @@
    EwinResize(ewin, ewin->client.w, ewin->client.h);
 
    doslide = manplace = 0;
-   if (Mode.place.enable_features)
+   if (Mode.place.enable_features > 0)
      {
        /* if set for borderless then dont slide it in */
        if (Conf.place.slidein && !Mode.place.doing_slide &&
===================================================================
RCS file: /cvs/e/e16/e/src/focus.c,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -3 -r1.164 -r1.165
--- focus.c     18 May 2007 08:25:02 -0000      1.164
+++ focus.c     17 Jun 2007 08:33:22 -0000      1.165
@@ -542,7 +542,7 @@
    FocusSet();
 
    /* Enable window placement features */
-   Mode.place.enable_features = 1;
+   Mode.place.enable_features++;
 }
 
 static void
===================================================================
RCS file: /cvs/e/e16/e/src/startup.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -3 -r1.75 -r1.76
--- startup.c   29 Jan 2007 01:40:38 -0000      1.75
+++ startup.c   17 Jun 2007 08:33:22 -0000      1.76
@@ -150,6 +150,7 @@
    if (kk < 1024)
       return 1;
 
+   Mode.place.enable_features++;
    EobjWindowDestroy(init_win1);
    EobjWindowDestroy(init_win2);
    init_win1 = NULL;
@@ -164,6 +165,7 @@
    if (init_win1 == NULL || init_win2 == NULL)
       return;
 
+   Mode.place.enable_features--;
    ESync();
    AnimatorAdd(doStartupWindowsOpen, NULL);
 }



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to