On 31 Jul 2000 19:10:31 +0000, Larry Riedel wrote:
>
> Sometimes I would like it if I could have an FVWM
> function which sends one or more KeyPress/KeyRelease
> events to the current window, so if that function
> was called "KeyPress", then the command "KeyPress x"
> would be the same as pressing the "x" key. Is there
> a simple way with FVWM to get this functionality?
There is no special way in FVWM to get this functionality.
If you take a look at FVWM's FAQ sections 3.5 and 3.6 you can find an info
about xse utility, it creates synthetic X keyboard events.
ftp://ftp.inria.fr/X/contrib-R5/clients/xse-2.1.tar.Z
Some apps disable syntetic events by default; 'Allow SendEvent' for xterm.
In addition, in fvwm 2.3 versions, you can use $n or $w variables to get
the name or window id of the window in the function's context.
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 Aug 03 2000 - 22:14:23 BST