Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: warp.c Log Message: Highlight selected focus list item when clicked (noted by Warren Crossing). =================================================================== RCS file: /cvs/e/e16/e/src/warp.c,v retrieving revision 1.101 retrieving revision 1.102 diff -u -3 -r1.101 -r1.102 --- warp.c 17 Jan 2007 01:10:43 -0000 1.101 +++ warp.c 29 Jan 2007 05:27:47 -0000 1.102 @@ -354,14 +354,20 @@ if (!warplist) return; + if (ix < 0 || ix >= warplist_num) + return; + if (ix == warpFocusIndex) + return; + + warpFocusIndex = ix; + WarpFocusShow(); ewin = warplist[ix].ewin; if (!EwinFindByPtr(ewin)) return; EwinRaise(ewin); - if (ewin->state.iconified) - EwinDeIconify(ewin); + 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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs