Re: FVWM: fvwm built-in function

From: Shao Zhang <shaoz_at_cse.unsw.edu.au>
Date: Mon, 25 Dec 2000 04:17:46 +1100

Hi,

Michael Han [mikehan_at_mikehan.com] wrote:
> The whole manpage documents the built-in functions. Move-or-Raise is
> not a built-in function. It's defined in many default .fvwm2rc
> configurations via the AddToFunc built-in. I thought I saw you write
> that you're on Debian. The Debian package of fvwm2 probably defines a
> lot of defaults somewhere like /etc/X11/fvwm2/ or something like that,
> so maybe that's what you're trying to find out. But basically, the
> documentation is, as far as FVWM itself is concerned, complete.

Ok, now I understand. I misunderstood the built-in bit. But after reading a bit
man pages, I still cannot figure out my keybinding requirement.

I want to bind Alt-Left(right, up, down) to move the window in the current
viewport to the viewport next to it. Eg. Alt-left will move the window to the
viewport in the left with exactly the same placements and go to the left
viewport as well.

I use the following keybindings to scroll between viewports and it works very
well for me:
Key Left A C Scroll -100 +0
Key Up A C Scroll +0 -100
Key Right A C Scroll +100 +0
Key Down A C Scroll +0 +100

Now to move the windows, I tried:
Key Left A M Move -100 +0
Key Up A M Move +0 -100
Key Right A M Move +100 +0
Key Down A M Move +0 +100

But it does not move the window with the same placements. MoveToDesk seems to be
what I need. But after reading about it, it needs a relative viewport number as
an argument, which means if I change my viewports from 2x4 to 4x2, or 1x8, then
it won't work anymore.

Regards,

Shao.
-- 
____________________________________________________________________________
Shao Zhang - Running Debian 2.1  ___ _               _____
Department of Communications    / __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia               |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao_at_cia.com.au                                                  |___/ 
_____________________________________________________________________________
--
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 Dec 24 2000 - 10:59:44 GMT

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