Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        actions.c 


Log Message:
Unshade if shaded when selecting window on window list.
This makes it easier to retrieve windows lost by accidental shading (and seems to
me to be the proper action anyway).

===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/actions.c,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -3 -r1.103 -r1.104
--- actions.c   30 May 2003 20:26:52 -0000      1.103
+++ actions.c   5 Jun 2003 08:55:00 -0000       1.104
@@ -2931,10 +2931,15 @@
    ewin = (EWin *) FindItem(NULL, win, LIST_FINDBY_ID, LIST_TYPE_EWIN);
    if (ewin)
      {
+       if (!ewin->sticky)
+         {
+            GotoDesktop(ewin->desktop);
+            SetCurrentArea(ewin->area_x, ewin->area_y);
+         }
        if (ewin->iconified)
           DeIconifyEwin(ewin);
-       GotoDesktop(ewin->desktop);
-       SetCurrentArea(ewin->area_x, ewin->area_y);
+       if (ewin->shaded)
+          UnShadeEwin(ewin);
        if (mode.raise_on_next_focus || mode.raise_after_next_focus)
           RaiseEwin(ewin);
        if (mode.warp_on_next_focus)




-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to