Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
ewin-ops.c
Log Message:
Don't unshade iconified windows on activation (revert to old behavior -
requested by Sven Faerber).
===================================================================
RCS file: /cvs/e/e16/e/src/ewin-ops.c,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -3 -r1.112 -r1.113
--- ewin-ops.c 14 Mar 2007 01:02:49 -0000 1.112
+++ ewin-ops.c 14 Mar 2007 04:12:50 -0000 1.113
@@ -1493,16 +1493,20 @@
void
EwinOpActivate(EWin * ewin, int source, int raise)
{
+ int unshade;
+
if (source == OPSRC_APP && EwinInhGetApp(ewin, focus))
return;
+ unshade = ewin->state.shaded && !ewin->state.iconified;
+
if (!ewin->state.animated && !ewin->state.iconified)
DeskGotoByEwin(ewin);
if (raise)
EwinOpRaise(ewin, source);
if (ewin->state.iconified)
EwinOpIconify(ewin, source, 0);
- if (ewin->state.shaded)
+ if (unshade)
EwinOpShade(ewin, source, 0);
FocusToEWin(ewin, FOCUS_SET);
}
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs