On Tue, Mar 09, 1999 at 12:37:02PM -0600, Dan D Niles wrote:
>
> Doh! I responded to the wrong message. This is the message I meant to
> respond to.
>
> I tracked down the bug. When a function has double click actions
> single clicks get the wrong type. Below (end of this message) is a
> patch that fixes the bug.
>
> --- fvwm/complex.c.orig Tue Mar 9 12:04:57 1999
> +++ fvwm/complex.c Tue Mar 9 12:18:57 1999
> _at_@ -179,6 +179,13 @@
> type = DOUBLE_CLICK;
> ev = &d;
> }
> + /* If a function has DOUBLE_CLICK actions, a single click results in
> + * type = ONE_AND_A_HALF_CLICKS, which causes CLICK actions to stop
> + * working. This hack fixes it, but the way double clicks are
> + * handled should probably be fixed in a better way.
> + * Bug fix by -DDN- (Dan D Niles dniles_at_iname.com or dan_at_more.net) */
> + if( type == ONE_AND_A_HALF_CLICKS ) type = CLICK; /* -DDN- */
> +
> /* some functions operate on button release instead of
> * presses. These gets really weird for complex functions ... */
> if(ev->type == ButtonPress)
But do duoble clicks still work with this fix? Looking at the code
I doubt it.
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 Tue Mar 09 1999 - 18:14:03 GMT