Patches for three bugs

Ben Noordhuis bnoordhuis at gmail.com
Thu Dec 7 05:50:03 EST 2006


Dear all,

I submit for your approval a collection of small bug fixes:

1. https://bugzilla.icculus.org/show_bug.cgi?id=2945 -- Mouse locks
when using console in windowed mode (SDL)

To reproduce:

- compile IOQ3 against SDL
- start it in windowed mode
- open the console
- move the mouse outside the window
- close the console

The mouse is now locked to the horizontal plane and cannot be moved more than
approximately 45 degrees in both directions. The cause is likely a bug in SDL
or xlib. This patch works around it by warping the mouse to the center of the
window before grabbing it again.

2. https://bugzilla.icculus.org/show_bug.cgi?id=2946 -- Cursor
misplacement in console after scrolling

To reproduce:

- open the console
- type something until the text begins to scroll
- scroll back

Character zero becomes unreachable due to a miscalculation in the engine. This
also applies to the different messagemodes. Said bug also exists in vanilla
1.32 Q3A.

3. https://bugzilla.icculus.org/show_bug.cgi?id=2863 --  Can't use DEL
key for binds

Existing bug report. Patch submitted that fixes the issue.

Sincerely,

Ben



More information about the quake3 mailing list