Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        borders.c ewmh.c 


Log Message:
Another tweak for nested E.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/borders.c,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -3 -r1.210 -r1.211
--- borders.c   3 Jul 2004 00:58:19 -0000       1.210
+++ borders.c   4 Jul 2004 12:28:56 -0000       1.211
@@ -476,10 +476,8 @@
          }
      }
 
-   ResizeEwin(ewin, ewin->client.w, ewin->client.h);
-
    /* if it hasn't been planted on a desktop - assign it the current desktop */
-   if (ewin->desktop < 0)
+   if (ewin->desktop < 0 || ewin->props.vroot)
      {
        ewin->desktop = desks.current;
      }
@@ -489,6 +487,8 @@
        ewin->desktop = DESKTOPS_WRAP_NUM(ewin->desktop);
      }
 
+   ResizeEwin(ewin, ewin->client.w, ewin->client.h);
+
    if ((!ewin->client.transient) && (Conf.place.manual)
        && (!ewin->client.already_placed) && (!Mode.wm.startup) && (!Mode.place))
      {
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/ewmh.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -3 -r1.54 -r1.55
--- ewmh.c      3 Jul 2004 00:58:19 -0000       1.54
+++ ewmh.c      4 Jul 2004 12:28:56 -0000       1.55
@@ -583,9 +583,6 @@
 
    EDBUG(6, "EWMH_GetWindowDesktop");
 
-   if (ewin->props.vroot)
-      goto done;
-
    val = AtomGet(ewin->client.win, _NET_WM_DESKTOP, XA_CARDINAL, &size);
    if (!val)
       goto done;




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to