Re: FVWM: Switching desktops with cursor keys problematic

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Wed, 21 May 2003 14:06:56 +0000

On 21 May 2003 11:07:51 +0200, Felix E. Klee wrote:
>
> On Tuesday 20 May 2003 22:20, Mikhael Goikhman wrote:
> > Please always specify which version do you run.
> > Please always provide enough of the configuration to be understandable,
> > one may only guess how exactly you defined the "." function.
>
> Sorry, I forgot to mention:
> 1. I'm using 2.5.6.
> 2. AddToFunc .
> + I SendToModule FvwmPerl eval preprocess({ 'command' => 1 } , q~$*~)
>
> > Anyway, I think that you use 2.5.6 instead of a later snapshot, this is
> > why it does not synchronized for you. Works for me.
>
> Interesting. I'll check out a later version when a new snapshot is
> available.

Any May snapshot should be good. Please redefine your "." function
to use "SendToModule FvwmPerl preprocess -c -- $*" if you upgrade.

> > Another solution (not sure why you don't use it anyway) is to use
> > GotoDesk with the first zero parameter:
> >
> > . %{ $[desk.n] > 0 ? "" : "#" }% GotoDesk 0 %{ $[desk.n] - 1 }%
> >
> > Then you don't need any synchronization between fvwm and FvwmPerl and it
> > may work in 2.5.6 too.
>
> Hm, I don't see much of a difference to my solution. But the above code
> indeed seems to work better. Thank you.

"Go to desk number 1" does not need synchronization in that you may send
2 such commands and you will always be in range. "Go to +1 desk" requires
synchronization, because if you send 2 such commands before the first is
finished you may be out of range.

> BTW, now that you are back to the list, could you please take a look at my
> still unanswered questions in the thread "Getting Layer of current
> window?"?

I can reproduce this bug, but have no time to debug it.

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed May 21 2003 - 09:10:02 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST