Re: FVWM: Settings program specific bindings

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Fri, 6 Feb 2004 01:16:11 +0000

On 05 Feb 2004 22:25:47 +0200, Micha Feigin wrote:
>
> Is it possible to define program specific bindings (using whatever
> resource type)?

You may define different actions for different windows in the window
specific binding:

  Mouse 3 WTSF CM DoSomethingOnCtrlAltMouse3InWindow

  AddToFunc DoSomethingOnCtrlAltMouse3InWindow
  + I ThisWindow (XTerm) Menu XTermMenu

  # the following is for 2.5.8, but ThisWindow works in 2.4.x too
  #+ I TestRc (!Match) ThisWindow (mozilla*) Function mozilla-something
  #+ I TestRc (!Match) Beep

> For example, can I define key bindings that would be active only over a
> fvwm tabs window?

No, this is not currently possible. A binding should be defined either
for all or no windows, although you may dispatch it.

It is probably possible to (re)send a synthetic event (using FakeClick)
to unwanted windows, but this is unrelable and I can't suggest this.

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 Thu Feb 05 2004 - 19:18:26 GMT

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