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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
