Re: FVWM: Disable global key bindings for a single application (please reply personally yo me)

From: Rob 'Feztaa' Park <feztaa_at_shaw.ca>
Date: Thu, 11 Jul 2002 21:09:32 -0600

Alas! Fvwm spake thus:
> On Thu, Jul 11, 2002 at 11:49:58AM +0200, Thomas Glanzmann wrote:
> > I appended my .fvwm2rc. I have a few global keybindings, which allow me to
> > resize, move and destroy windows. But I also use UserModeLinux (something like a
> > vmware for Linux and free). In this UserModeLinux I also have a fvwm2 with the
> > same Configuration running. So I want this global key strokes disabled for this
> > specific window. Is that possible? At the moment I press the Num Lock outside
> > the application ... so that my host fvwm keystrokes are disabled (but the
> > UserModeLinux don't get the enabled Num Lock), so that I can use my keybindings
> > in the client application ...
>
> Sorry, at the moment there is no way to do this at the moment. Key
> bindings are always globally applied to all windows. Even if they
> could be selecte on a per-window basis, the bindings with "A(ny)"
> context would still be global.

Wouldn't it be possible to write a function that would check if the
current window is a certain window, and if so unbind all the
keybindings, and if not (or if no window is focused), rebind all the
keybindings, and then use FvwmAuto to run this function instead of
raising/lowering the window? (FvwmAuto lets you choose what to do when
focus changes, iirc)

-- 
Rob 'Feztaa' Park
http://members.shaw.ca/feztaa/
--
The main problem I have with cats is, they're not dogs.
		-- Kevin Cowherd
--
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 Jul 11 2002 - 22:03:26 BST

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