On Thu, Jun 01, 2006 at 07:21:35PM +0400, Serge (gentoosiast) Koksharov wrote:
>   Hello,
> 
>  It looks like I found bug in 'Scroll' command. Excerpt from manpage:
> 
>  > If  the  horizontal  and  vertical percentages are multiplied by
>  > 1000 then scrolling wraps around at the edge of the desktop.  If
>  >                  
>  >    Scroll 100000 0
>  >             
>  > is executed over and over fvwm moves to the next desktop page on
>  > each execution and wraps around at the edge of the  desktop,  so
>  > that every page is hit in turn.
> 
> This example works. But now try, for example, command 'Scroll 50000 0'.
> In this case fvwm should move to the half of the next right desktop
> page. But as a matter of fact it moves to the extreme right page. So it
> obviously a bug.

Actually, any value smaller than 100000 can not wrap anyway
because it does not go far enough across the screen edge.

But the real reason why values between 1000 and 99999 do not wrap
is that the code has to cope with values given in pixels, e.g.
1280p.  With the current syntax it is not possible to code a
properly working Scroll command.  Instead we should have
additional options to activate wrapping, e.g.

  Scroll 100 0 wrapx
  Scroll 200 150 wrapy

with values >= 100000 still triggering wrapping for compatibilty.
I've clarified this in the man page for now.

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt, [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to