FVWM: catching button down events

From: Jason McCarty <mccartyj_at_altsoftware.com>
Date: Thu, 26 Jul 2001 12:06:04 -0400

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.

--
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 Jul 26 2001 - 11:05:56 BST

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