FVWM: Move window across pages without going there?

From: Gert Brinkmann <g111_at_netcologne.de>
Date: Thu, 27 Feb 2003 21:54:53 +0100

Hello,

while experimenting with virtual desktop commands I have configured the
usual CTRL-ALT-CursorKey to move the screen to another page (GotoPage)
and also CTRL-RighWin-ALT-CursorKey to move the currently focused window
to a page and also go there. Therefore I use this function:

AddToFunc MoveAndGotoPage
+ I Raise
+ I MoveToPage $0 $1
+ I GotoPage $0 $1

Key Right W CM4 MoveAndGotoPage +1p +0p
...

Is this the correct way to handle this or is there a smarter way to go?


My main question is now: How to configure fvwm so that
RightWin-CursorKey moves the focused window around without moving the
screen?

I tried

   Key Right W 4 MoveToPage +1p +0p

but there are 2 problems:

First: After moving the window, the focus should not change to another
window that might have been behind the recently moved window until the
RightWin key is released. Otherwise you could not move the initially
focused window across 2 pages.

Second: The arguments "+1p +0p" of MoveToPage are taken relative to the
page where the screen currently is at. It has to be relative to the page
where the currently moved window is at in this case.

Is there a solution for this?

Gert



--
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 Thu Feb 27 2003 - 14:59:46 GMT

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