On Wed, Feb 08, 2006 at 10:38:54PM +0000, Mikhael Goikhman wrote: > On 08 Feb 2006 14:52:29 +0100, David Vilar wrote: > > > > I have a problem with FvwmRearrange. I have two functions like this > > (in a simplified form): > > > > DestroyFunc Expose > > AddToFunc Expose > > + I ModuleSynchronous FvwmRearrange -tile -maximize -m -mn 3 > > + I NoWindow Pick DeExpose $$$$[w.id] > > > > DestroyFunc DeExpose > > AddToFunc DeExpose > > + I All (CurrentPage, !Iconic, CirculateHit, !Sticky) Maximize Off > > + I WindowId $0 WarpToWindow 50 50 > > > > The goal is to show an overview of all the windows (inspired by the > > expose of MacOS), and then to be able to select a window, which will > > get focus, and the rest of the windows go back to their initial > > sizes and positions. > > > > The problem I have is that the "NoWindow Pick DeExpose..." line gets > > executed before the windows get reorganized by FvwmRearrange, even > > though I use the ModuleSynchronous command. Is this a bug in > > FvwmRearrange or am I doing something wrong? > > A module should implement an intended synchronization (if applicable) for > ModuleSynchronous to have any effect. Some modules work asynchronously by > default even if you invoke them using ModuleSynchronous, and require an > option (like: FvwmM4 -lock), some other modules work synchronously with > ModuleSynchronous and have an opposite option (FvwmPerl --nolock). > > You may add support for synchronization in FvwmRearrange if you need it.
FvwmRearrage really should run synchronously. Ciao Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED]
signature.asc
Description: Digital signature
