On Thu, Jul 11, 2002 at 09:09:32PM -0600, Rob 'Feztaa' Park wrote:
> 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)
Yes, that is possible, but it's vastly inefficient and probably
very slow (depending on the number of key bindings, the number of
ignored modiefiers and the connection to the X server).
Bye
Dominik ^_^ ^_^
--
Dominik Vogt, mail: dominik.vogt_at_schlund.de, phone: 0721/91374-382
Schlund + Partner AG, Erbprinzenstr. 4-12, D-76133 Karlsruhe
--
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 Fri Jul 12 2002 - 03:49:21 BST