Re: FVWM: moving window in pager w/o mouse

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Mon, 17 Jun 2002 01:41:23 +0000

On 16 Jun 2002 20:48:37 -0400, parv wrote:
>
> > > what would i need to do after highlighting a window in a page?
> >
> > # move to page, Shift+Ctrl+KP_N
> > Key KP_1 A SC MoveToPage 0 2
> > Key KP_2 A SC MoveToPage 1 2
> ...
> > # move without the cursor, Shift+Alt+KP_N
> > Key KP_1 A SM Move w-1 w+1
> > Key KP_2 A SM Move w w+1
> ...
>
> in fvwm 2.5.1, MoveToPage binding was producing very odd movements
> when used on a highlighted/focused window in the pager; however,
> they worked as expected when used on actual window. i tried all the
> permutations combining '0', '+', and 'p' to no avail ...
>
> key Bracketleft A M MoveToPage -1p 0p
> key Bracketright A M MoveToPage +1p 0p
> key Slash A M MoveToPage 0p -1p
> key Apostrophe A M MoveToPage 0p +1p

Well, it should be "+0p" not "0p", but it is still relative to the current
page, not the window's page. We miss a syntax similar to w+1 in MoveToPage.
But as you noted, it may be simulated by the bindings below.

> ...following key bindings work just as expected w/o any problems
> both on the actual window & its representation in the pager...
>
> key Bracketleft W M Move w-100 w
> key Bracketright W M Move w+100 w
> key Slash W M Move w w+100
> key Apostrophe W M Move w w-100
>
>
> also ... in private mail i got the suggestion to use a key binding
> to "Stick"; focus a window in a page (in virtual pager) move to
> another page & press the sticking key, followed by an additional
> application. and there you/i have it -- a window transported to
> an arbitrary page.

You probably mean "the current page" when you say "an arbitrary page".
My definition of "an arbitrary page" is any (non just the current) page.

"Stick on" and the following "Stick off" may help to bring the window to
the current page (the same effect may be achieved using a single
MoveToPage without arguments), but you need "Move" or "MoveToPage" with
the proper arguments to bring it to an arbitrary page.

Regards,
Mikhael.
--
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 Jun 16 2002 - 20:42:29 BST

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