On Fri, Jun 16, 2006 at 06:20:07PM +0530, B S Srinidhi wrote:
> Hi,
> 
> Found a problem with E this morning. It bit me many times, because this
> problem is triggered when I press CTRL+Shift+{Left,Right} keys. I use
> those key (extensively) in konsole to move shells to the left / right. 
> 
> There's a while loop over there which, I guess, is causing the problem.
> 
>       while (scr >= zone->num) scr -= zone->num;

This is followed by 
    while (scr < 0) src += zone->num;

So, this would definitely infinite loop if zone->num == 0;


However, aren't these two while loops just a roundabout way of doing:
    scr %= zone->num;
??

--
rephorm


> 
> 
> 
> I use a single screen, so this event of moving the window to a different
> screen (hope I've understood it right) shouldn't do anything to E or the
> window.
> 
> Srinidhi.
> -- 
> ASCII ribbon campaign ( )         B S Srinidhi
>  - against HTML email  X          http://srinidhi.deeproot.co.in
>              & vCards / \         DeepRoot Linux
> 
> 
> 
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to