I just re-read the code. The problem is that the ButtonPress from the
first press is never taken off the event queue. I will write a new
patch to fix this correctly.
>
> Dominik wrote:
> >
> > Hey, if *you* understand the code (I tried but I couldn't), can you
> > tell me what this ONE_AND_A_HALF_CLICKS thing was good for?
> >
>
> If the section of code with the ONE_AND_A_HALF_CLICKS in it were removed,
> a single click would register as a double click. It seems that either
> two ButtonPress events are on the stack for a single press, or that the
> ButtonPress event for the first press doesn't get removed. The first
> seems more likely. Either way, the ONE_AND_A_HALF_CLICKS is there
> to purge an extra event from the event queue. The *correct* way to
> fix this would be to figure out why the event queue isn't doing
> what we would expect, and fix that first.
>
--
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 Wed Mar 10 1999 - 10:58:04 GMT