Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        desktops.c ewin-ops.c 


Log Message:
Fix stacking before shade/unshade when "click-raises" is enabled (noted by Sven 
Faerber).

===================================================================
RCS file: /cvs/e/e16/e/src/desktops.c,v
retrieving revision 1.256
retrieving revision 1.257
diff -u -3 -r1.256 -r1.257
--- desktops.c  13 Mar 2007 03:11:30 -0000      1.256
+++ desktops.c  14 Mar 2007 01:02:48 -0000      1.257
@@ -1441,6 +1441,9 @@
    int                 i, num, tot;
    EObj               *const *lst, *eo;
 
+   if (!dsk->stack.dirty)
+      return;
+
    /* Special case if only one window needs restacking */
    if (dsk->stack.dirty == 1)
      {
===================================================================
RCS file: /cvs/e/e16/e/src/ewin-ops.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -3 -r1.111 -r1.112
--- ewin-ops.c  6 Mar 2007 03:33:31 -0000       1.111
+++ ewin-ops.c  14 Mar 2007 01:02:49 -0000      1.112
@@ -985,6 +985,8 @@
    if ((ewin->border) && (!strcmp(ewin->border->name, "BORDERLESS")))
       return;
 
+   DeskRestack(EoGetDesk(ewin));       /* Do any pending stacking ops now */
+
    speed = Conf.shading.speed;
 
    x = EoGetX(ewin);
@@ -1158,6 +1160,8 @@
       return;
    if (!ewin->state.shaded || ewin->state.iconified)
       return;
+
+   DeskRestack(EoGetDesk(ewin));       /* Do any pending stacking ops now */
 
    speed = Conf.shading.speed;
 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to