Re: FVWM: catching button down events

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Sat, 28 Jul 2001 14:35:05 +0200

On Thu, Jul 26, 2001 at 12:06:04PM -0400, Jason McCarty wrote:
> 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.

You don't need to hold down the button to drag windows with fvwm.
Try out this binding:

  AddToFunc ClickToMove
  + C Move

  Mouse 1 T A ClickToMove

Now you can click once on a window title to start moving a window.
A second click terminates the operation.

Bye

Dominik ^_^ ^_^

 --
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
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 Sat Jul 28 2001 - 07:34:45 BST

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