On Sun, Jul 23, 2000 at 09:56:34PM +0200, Johannes Zellner wrote:
> On Sun, Jul 23, 2000 at 11:54:06AM -0700, Michael Han wrote:
> > Well, either explicitly set the geometry in the commandline for
> > whatever invocation path you choose (shell alias, in the FVWM Exec
>
> The problem with specifying the geometry is that it depends on the font.
> I could certainly use rxvt -geometry 169x57, but if the font happens to
> change (e.g. because I change the X resources) this fails.
Yeah, that's a shortcoming.
> 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().
> I also searched for something like
>
> Style '*my_name*' Maximized
>
> but a style `Maximized' does not seem to exist.
> hmm. I thought that /must/ be easy. But it doesn't seem so.
For the time being Maximization is a window state, not a style. It
behaves like Sticky, where you use a function to target a specific
window, rather than a Style that matches some group of windows.
Someday Maximize may become a style, but not any day in the near
future.
--
mikehan_at_mikehan.com http://www.mikehan.com/
coffee achiever San Francisco, California
To understand recursion you must first understand recursion.
--
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 - 15:18:25 BST