Re: FVWM: catching button down events

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Fri, 27 Jul 2001 11:27:08 -0400

"Jason McCarty" <mccartyj_at_altsoftware.com> writes:
> Hello, I'm working on an xfree86 touchscreen driver that works with fvwm.
> I'm not sure if this message belongs here or someplace else but I figured
> that the window manager developers would probably be the experts to ask.
> What I'm trying to do is make the behaviour be that:
>
> If user touches a 'button' (like a close button) a down event is generated
> and then immediately after an up event is generated. But if the user touchs
> some other part of the screen (say to drag a window) I only pass a down
> event (until user lifts finger). XFree86 seems to just pass events to the
> window manager. When a button gets pressed I know there is a different
> graphics (indented button) that gets displayed, I'd like to 'hook' this(or
> something) so that I can tell if the user hit a button or someplace else.
>
> The problem is that now, if i do a down/up mode, the user can't drag, which
> kinda sucks.

As long as the touchscreen driver generates button down, motion, and
button up events, it should work with fvwm.

I don't understand the part about 'hook'ing the button being depressed.
Fvwm depresses the button when it sees the button down event, but considers
the button clicked when the button is released and a little time passes.

-- 
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
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 27 2001 - 10:38:48 BST

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