Re: FVWM: 'Maximize grow grow' automatically.

From: Rob 'Feztaa' Park <feztaa_at_shaw.ca>
Date: Tue, 30 Jul 2002 18:33:05 -0600

Alas! Mikhael Goikhman spake thus:
> > 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

Ok, you've almost got it! ;)

This works, except that the second (or later) time I run it, whichever
xterm had the mousecursor over it doesn't get grown, and an xterm with
the same name on another desk gets ungrown. The ungrown thing could be
avoided with "Maximize true grow grow", but it doesn't change the fact
that the current window is not grown. Mostly this just leads to odd
results like this:

+---------+--------------+
|xterm |xterm |
| | |
| | |
+---------+ |
|xterm | |
| | |
| | |
| +--------------+
| |xterm |
| | |
| | |
+---------+--------------+

But it's still maximum utilized screen space, so I'm not really
complaining ;)

Thanks.

-- 
Rob 'Feztaa' Park
http://members.shaw.ca/feztaa/
--
We come to bury DOS, not to praise it.
(Paul Vojta, vojta_at_math.berkeley.edu, paraphrasing a quote of Shakespeare)
--
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 - 19:25:25 BST

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