On Tue, Nov 06, 2001 at 02:55:10PM -0500, Louis LeBlanc wrote:
> On 11/06/01 04:56 PM, Fvwm Users sat at the `puter and typed:
> > > . . .
> >
> > You can do something similar with a function, but you have to
> > modify the function for each window. First start mutt in a window
> > with an appropriate window title, e.g.
> >
> > xterm -T mutt -e mutt
> >
> > Then, use this function to switch desks:
> >
> > AddToFunc MyGotoDesk
> > + I GotoDesk $*
> > + I All (mutt) MoveToDesk
> >
> > Then use
> >
> > MyGotoDesk +1 0 1
> >
> > instead of GotoDesk everywhere. This does not look very nice
> > since the mutt window is unmapped and then mapped again when
> > switching desks, but it works anyway.
>
> Hmm. Looks like it, but I had to make a small mod to get it to work:
>
> AddToFunc MyGotoDesk
> + I All (mutt) MoveToDesk $*
> + I GotoDesk $*
>
> Not much, but it appears MoveToDesk required at least one parameter,
> and adding the '$*' always caused mutt to be moved to the 'next'
> desktop - so it always went to the one I *wasn't* on.
MoveToDesk without any parameter should move the window to the
current desk. Therefore its important to switch desks first and
then issue MoveToDesk. I don't know why it didn't work for you,
for me it does. The advantage of a plain MoveToDesk is that is
also works if the application is on a different desktop for some
reason.
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 Nov 07 2001 - 07:10:08 GMT