Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        borders.c 


Log Message:
Fix bottom border when shaded, remove redundant window stacking.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/borders.c,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -3 -r1.154 -r1.155
--- borders.c   26 Mar 2004 21:21:45 -0000      1.154
+++ borders.c   26 Mar 2004 21:51:22 -0000      1.155
@@ -565,7 +565,6 @@
        MoveEwinToDesktopAt(ewin, ewin->desktop, x, y);
        RaiseEwin(ewin);
        ShowEwin(ewin);
-       StackDesktops();
        UngrabX();
        ewin->iconified = 0;
        IconifyEwin(ewin);
@@ -602,7 +601,6 @@
        MoveEwin(ewin, x, y);
        RaiseEwin(ewin);
        ShowEwin(ewin);
-       StackDesktops();
        FocusToEWin(ewin, FOCUS_EWIN_NEW);
        GrabThePointer(root.win);
        Mode.have_place_grab = 1;
@@ -647,7 +645,6 @@
        ShowEwin(ewin);
        SlideEwinTo(ewin, fx, fy, x, y, speed);
        MoveEwinToDesktopAt(ewin, ewin->desktop, x, y);
-       StackDesktops();
      }
    else
      {
@@ -659,7 +656,6 @@
        MoveEwinToDesktopAt(ewin, ewin->desktop, x, y);
        RaiseEwin(ewin);
        ShowEwin(ewin);
-       StackDesktops();
      }
 
    /* send synthetic configure notifies and configure the window */
@@ -2228,7 +2224,8 @@
 
             h = ewin->bits[i].y + ewin->bits[i].h -
                (ewin->h - ewin->border->border.bottom);
-            bottomborderwidth = h;
+            if (bottomborderwidth < h)
+               bottomborderwidth = h;
          }
        ewin->h = bottomborderwidth + topborderwidth;
        break;




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to