Re: FVWM: animated resize

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Tue, 16 Sep 2003 20:53:39 +0300

On 16 Sep 2003 19:32:18 +0200, KONTRA Gergely wrote:
>
> On 0916, Mario Domg?rgen wrote:
> > DestroyFunc CenterWindow
> > AddToFunc CenterWindow
> > + I ThisWindow Piperead "echo Move \
> > $(( $[vp.width]/2-$[w.width]/2 ))p \
> > $(( $[vp.height]/2-$[w.height]/2 ))p"
> ^^^ What is this? BTW I don't want to be moved, so I don't use
> this function.
>
> I get the following error message:
> [FVWM][__execute_function]: <<ERROR>> No such command '$(('

Do you have spaces after backslash?

> However, the focus is lost, if I shrink the window and the mouse pointer
> gets out of the window, the window lost the focus.
> I tried a little function:
>
> DestroyFunc MyResize
> AddToFunc MyResize
> + I Resize $0 $1 $2
> + I Focus ThisWindow
>
> but it doesn't work. :(

Focus command does not accept such argument, it may be ThisWindow Focus.
Anyway, ThisWindow is redundant in this example, just Focus would do.
Using SloppyFocus may help too.

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 Sep 16 2003 - 12:56:03 BST

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