Re: FVWM: Simulating Mouse Clicks

From: Dominik Vogt <dominik.vogt_at_fvwm.org>
Date: Tue, 21 Dec 1999 17:15:08 +0100

On Tue, Dec 21, 1999 at 10:18:00AM -0500, andrew_at_pimlott.ne.mediaone.net wrote:
> On Sun, Dec 05, 1999 at 04:08:53AM -0330, Neil Zanella wrote:
> > I would like to simulate mouse clicks as follows:
> >
> > What commands should I issue from within my window manager
> > configuration script for these key bindings to take place?
> > Can I do this with xmodmap? I've heared of the
> >
> > xmodmap -e "keysym Num_Lock = Num_Lock Pointer_EnableKeys"
>
> From what I've heard, the window manager can only generate "synthetic"
> clicks, which are not honored by many applications. The only way to
> generate real clicks is with Pointer_EnableKeys, but the mapping for
> that is not easily configurable AFAIK.

I know I'm guilty of spreading this rumor too. It's utter nonsense.
The events are *not* synthetic, and I guess if they were the
applications wouldn't care. I've tried to write a 'ButtonClick'
function a while ago, and it works perfectly. The reason why I
won't put it into fvwm is that this is very difficult to do right
in respect to events and module messages. It will require lots
of carefully tinkered code that will easily break. I've tried
it and I don't like it. This could be written as a module, but
the fvwm core is the wrong place for it.

Bye

Dominik ^_^

> I agree this is stupid.

Not really. What is stupid is that people like you and me keep
spreading this nonsense without double checking that it's true.
The X folks are not *this* stupid. If this rumor were true, it
would not be possible to write a 'GUI macro recorder'.

> I often use fvwm keyboard mappings to move the
> cursor and am often itching to click with the keyboard as well.

I agree, it would be great if this were easily configurable.

Bye

Dominik ^_^

-- 
Dominik Vogt, Agilent Technologies, Dept. BVS
Herrenberger Str.130, 71034 Boeblingen, Germany
phone: 07031/464-4596, fax: 07031/464-3883, dominik_vogt_at_agilent.com
--
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 21 1999 - 10:18:43 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST