Re: FVWM: 'Maximize grow grow' automatically.

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Tue, 30 Jul 2002 16:30:40 +0000

On 29 Jul 2002 21:53:46 -0600, S. Anderson wrote:
>
> On Mon, Jul 29, 2002 at 03:29:27PM -0600, Rob 'Feztaa' Park wrote:
> > ...
> > Aside from the fact that it's growing the wrong ones, it's also growing
> > them before the others open which results in one fully maximized behind
> > some others grown into odd shapes.
> >
> how bout starting them all first?
> destroyfunc XtermCreateGrow
> addtofunc XtermCreateGrow
> + i exec exec xterm -T xterm1
> + i exec exec xterm -T xterm2
> + i exec exec xterm -T xterm3
> + i exec exec xterm -T xterm4
> + i wait xterm4
> + i next (xterm1) maximize grow grow
> + i next (xterm2) maximize grow grow
> + i next (xterm3) maximize grow grow
> + i next (xterm4) maximize grow grow
> XtermCreateGrow
>
> not sure if the '-T' is necisito.

Yes, it is necessary to distinguish them, because Rob wants to grow xterms
in the certain order if I understand. -n is stronger, -name is even more.

When Wait above is passed it is not guaranteed that 4 xterms are already
up, it is only guaranteed that only one xterm4 is up. And if you group all
four Wait together it may hang from time to time. This works (note -g):

  DestroyFunc Xterm4CreateGrow
  AddToFunc Xterm4CreateGrow
  + I Exec exec xterm -n xterm1 -g +0+0
  + I Wait xterm1
  + I Exec exec xterm -n xterm2 -g -0+0
  + I Wait xterm2
  + I Exec exec xterm -n xterm3 -g +0-0
  + I Wait xterm3
  + I Exec exec xterm -n xterm4 -g -0-0
  + I Wait xterm4
  + I Next (xterm1) Maximize grow grow
  + I Next (xterm2) Maximize grow grow
  + I Next (xterm3) Maximize grow grow
  + I Next (xterm4) Maximize grow grow

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 Tue Jul 30 2002 - 11:31:56 BST

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