Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        borders.c 


Log Message:
Fix borders on initially shaded windows.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/borders.c,v
retrieving revision 1.192
retrieving revision 1.193
diff -u -3 -r1.192 -r1.193
--- borders.c   7 Jun 2004 16:46:07 -0000       1.192
+++ borders.c   8 Jun 2004 19:08:46 -0000       1.193
@@ -356,6 +356,7 @@
          }
        EDBUG_RETURN_;
      }
+
    /* grab that server */
    GrabX();
    speed = Conf.slidespeedmap;
@@ -547,7 +548,7 @@
    /* if the window asked to be iconified at the start */
    if (ewin->client.start_iconified)
      {
-       EwinBorderDraw(ewin, 1, 1);
+       EwinBorderDraw(ewin, 1, 0);
        MoveEwinToDesktopAt(ewin, ewin->desktop, x, y);
        UngrabX();
        IconifyEwin(ewin);
@@ -575,7 +576,7 @@
        x = Mode.x + 1;
        y = Mode.y + 1;
        ICCCM_Configure(ewin);
-       EwinBorderDraw(ewin, 1, 1);
+       EwinBorderDraw(ewin, 1, 0);
        MoveEwinToDesktop(ewin, ewin->desktop);
        RaiseEwin(ewin);
        MoveEwin(ewin, x, y);
@@ -614,7 +615,7 @@
             fx = VRoot.w;
             fy = (rand() % (VRoot.h)) - ewin->h;
          }
-       EwinBorderDraw(ewin, 1, 1);
+       EwinBorderDraw(ewin, 1, 0);
        MoveEwinToDesktop(ewin, ewin->desktop);
        RaiseEwin(ewin);
        MoveEwin(ewin, fx, fy);
@@ -624,7 +625,7 @@
      }
    else
      {
-       EwinBorderDraw(ewin, 1, 1);
+       EwinBorderDraw(ewin, 1, 0);
        MoveEwinToDesktopAt(ewin, ewin->desktop, x, y);
        RaiseEwin(ewin);
        ShowEwin(ewin);
@@ -647,8 +648,8 @@
    Border             *b;
 
    EDBUG(3, "AddInternalToFamily");
-   b = NULL;
 
+   b = NULL;
    if (bname)
      {
        b = FindItem(bname, 0, LIST_FINDBY_NAME, LIST_TYPE_BORDER);




-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to