Re: FVWM: stupid problem with new windows ...

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Wed, 23 May 2001 14:02:46 +0200

On Wed, May 23, 2001 at 01:46:54PM +0200, Andre Bonhote wrote:
> > AddToFunc TermFunc
> > + I exec xterm
> > + I wait xterm
> > + I next (xterm) warptowindow 5p 5p
>
> thanks dominik. this works fine for my key binding. i also have a call
> for this function in my root menu. and there something quite strange
> happens: sometimes it opens the window properly, then warps to a
> completely different page to another xterm window ...
>
> this doesn't make any sense to me ...
>
> andre_at_grischun02:~ > fvwm2 -version
> FVWM version 2.3.31 compiled on Apr 3 2001 at 08:58:32
> with support for: ReadLine, XPM, GNOME WM hints, SM

The 'next' command relies on the order in which windows were
focused. If you start the function from a menu, the 'next' window
may not be what you expext. To make absolutely sure you get the
correct window with next you have to give it a unique name, for
expample

  AddToFunc TermFunc
  + I exec xterm
  + I wait xterm
  + I next (foobar) warptowindow 5p 5p

  xterm -T foobar

Bye

Dominik ^_^ ^_^

--
Dominik Vogt, email: d.vogt_at_lifebits.de
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
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 Wed May 23 2001 - 07:03:27 BST

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