Re: FVWM: launch a window maximized ?

From: Johannes Zellner <johannes_at_zellner.org>
Date: Mon, 24 Jul 2000 00:01:45 +0200

On Sun, Jul 23, 2000 at 01:18:43PM -0700, Michael Han wrote:

[...]
> > I had a look at it. And I had it even before I posted mail initial mail!
> > I also tried what you proposed (and a few other alternatives). No luck.
> > Your example toggles the maximize state of an rxvt which is already
> > on the screen. (E.g. if this window is normal size, it gets maximized,
> > if it is maximized it gets back it's normal size). The wait returns
> > immediately if there is already an rxvt on the screen. I tried also
> > something like
> >
> > AddToFunc StartMaxRxvt I Exec exec rxvt -n 'my_name'
> > + I Wait my_name
> > + I Current (my_name) Maximize 100 100
> >
> > no luck.
>
> Are you certain Wait isn't waiting for a *new* window? If it doesn't,
> then Wait is broken and needs to be fixed (let us know what version
> you're running in case you think Wait isn't actually waiting).
> If the example doesn't work in the case that my_name is a *unique*
> window name in the current context, I'm baffled. If you're saying that
> you have multiple "my_name" windows, then perhaps it's the choice of
> Current() rather than, maybe Next().
[...]

yup. It needed two steps to make it work.
    1) doing a cvs update (my `old' version was about 2 months old)
    2) using Next() instead of Current().
thanks!

-- 
   Johannes
--
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 Sun Jul 23 2000 - 17:02:11 BST

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