Re: FVWM: Remapping Alt+Tab

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Tue, 4 Dec 2001 21:13:17 +0000

On 04 Dec 2001 16:57:41 +0000, Richard Curnow wrote:
>
> On Tue, Dec 04, 2001 at 05:02:55PM +0100, uwe.pross_at_gmx.net wrote:
> > Richard Curnow wrote:
> > >
> > > I tried
> > >
> > > MenuStyle WindowList SelectOnRelease
> > >
> > > (since the manual says not to specify a keyname to remove the Alt feature.)
> > >
> > > My Alt+Tab menu still popped down, and also, it didn't have the font,gradient
> > > etc that I'd configured elsewhere via MenuList * entries. So I tried both of
> > > these (the 2nd guessing that I have a missing arg or something):
> > >
> > > MenuStyle * SelectOnRelease
> > > MenuStyle * SelectOnRelease ""
> > >
> > > both of which made the menu appearance right, but didn't make the popping down
> > > work. Have I got the syntax wrong, or is something else broken?
> >
> > Have a try with
> >
> > MenuStyle WindowList SelectOnRelease none
> >
> > which worked in my fvwm-2.4.3. It removes all SelectOnRelease events for
> > WindowList. (The man page might be not right in this case.)
> > To get the right style for WindowList you need to declare it for WindowList
> > explicitly. Like:
> >
> > MenuStyle WindowList Font -*-lucida-medium-r-*-*-12-*-*-*-*-*-*-*
> > MenuStyle WindowList MenuColorset 5
> > MenuStyle WindowList ActiveColorset 6
> > MenuStyle WindowList HilightBack $[bg.cs6]
> > MenuStyle WindowList DoubleClickTime 200
> > MenuStyle WindowList Hilight3DThin
> >
> > Just using:
> >
> > MenuStyle * ... might be not enough.

Theoretically you don't really need to redefine anything, this is enough:

  CopyMenuStyle * WindowList
  MenuStyle WindowList SelectOnRelease

Or maybe just:

  MenuStyle * SelectOnRelease

But I can confirm that the second line (omitting a release key) does not
work as described in the man page. This needs to be fixed. The current
workaround is to specify a dummy key that exists, like "F12".

> Still no luck with this :-( So, I untarred the source and began exploring.
> After a bit of study and a few experiments printing status to stderr, I've
> found that the following line does what I want:
>
> Key Tab A M WindowList Root c c CurrentDesk, NoGeometry, SelectOnRelease Meta_R
>
> where I've just picked Meta_R because at least it's not Meta_L (which is the
> Alt key I want to use) - I suppose anything that's not Meta_L will work.

You may specify no SelectOnRelease argument to disable this feature, like:

  WindowList SelectOnRelease

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 Tue Dec 04 2001 - 15:13:26 GMT

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