merge 293687 248201
thanks

* Jeff King ([EMAIL PROTECTED]) wrote:
> Package: billard-gl
> Version: 1.75-7
> Severity: minor
> 
> I was having trouble holding down the spacebar to shoot. The power meter
> would only go up about 1/10 of the way before shooting (even though I
> was still holding the spacebar). The resulting shot was quite weak,
> making the game unplayable.
> 
> To solve this, I turned off keyrepeat for my X display (by writing a C
> program which calls XAutoRepeatOff()). Billard-gl should either:
>   - call XAutoRepeatOff() itself (and turn it back on when it's done)
>   - work with auto repeat on
> The second is obviously preferable, since the setting affects all
> windows.
> 

Hello Jeff,

Thanks for the bug report! However, this bug has already been reported once
(#248201), and turns out to be related to glutIgnoreKeyRepeat() being broken
in freeglut3 2.2.0. That bug has been fixed in freeglut upstream CVS, but the
Debian package (which is not based on the upstream CVS version) does not
incorporate these changes.

There are currently three workarounds for this: a) do as you did, disable
autorepeat for that display, b) use the patches attached to #248201 and build
a custom freeglut3 (I have tested this, and works as expected), or c) you use
the middle mouse button, which performs the same function as the spacebar.

I hope this helps you. For the elegant fix, we'll probably have to wait for
the next release of freeglut3. I will merge this bug with #248201.

Cheers,
Thierry

Attachment: signature.asc
Description: Digital signature

Reply via email to