Re: FVWM: 'Maximize grow grow' automatically.

From: Rob 'Feztaa' Park <feztaa_at_shaw.ca>
Date: Mon, 29 Jul 2002 15:29:27 -0600

Alas! Fvwm spake thus:
> > Would it be possible to do this, without affecting the behavior of
> > the other xterms that I open individually?
>
> Try this:
>
> addtofunc XtermCreateGrow
> + i exec exec xterm
> + i wait xterm
> + i next (xterm) maximize grow grow
>
> addtofunc Create4XTerms
> + I XtermCreateGrow
> + I XtermCreateGrow
> + I XtermCreateGrow
> + I XtermCreateGrow
>
> AddToMenu foobar
> + "4 XTerms" Create4XTerms

Didn't work; the end result is that one already opened xterm grew,
another opened and grew, a second opened and did nothing, and then a
third and fourth opened which both grew.

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.

> However, it's really better to provide the xterms with the proper
> geometry manually. The "Next" command can not guarantee that the
> command is applied to the correct window.

Aw, but manually is too hard! That means I'd have to hardcode the size,
which would be a PITA if I ever change X resolutions.

> Bye

Thanks anyway, I guess I'll go back to clicking.

-- 
Rob 'Feztaa' Park
http://members.shaw.ca/feztaa/
--
Last night I dreamed I ate a ten-pound marshmallow, and when I woke up
the pillow was gone.
		-- Tommy Cooper
--
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 Mon Jul 29 2002 - 16:20:49 BST

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