Please apply the following fix. It fixes a bug that occurs when mouse
button with number greater than or equal to 5 is used as a drag toggle.
Use -p1 when applying the patch.

I apologize and abase myself for finding this bug at this late date!
The only excuse I have is that, until now I have only had 4 button
trackballs to test with. 

If I have caused problems for anyone, I am sorry.

====
Paul Elliott                       1(512)837-1096
[EMAIL PROTECTED]                    PMB 181, 11900 Metric Blvd Suite J
http://www.io.com/~pelliott/pme/   Austin TX 78758-3117
======================cut here with a chain saw======================

diff -cra xc-orig-4.3.0-cur/programs/Xserver/hw/xfree86/input/mouse/mouse.c 
xc-mod/programs/Xserver/hw/xfree86/input/mouse/mouse.c
*** xc-orig-4.3.0-cur/programs/Xserver/hw/xfree86/input/mouse/mouse.c   2003-03-24 
00:48:10.000000000 -0600
--- xc-mod/programs/Xserver/hw/xfree86/input/mouse/mouse.c      2003-03-24 
01:00:06.000000000 -0600
***************
*** 471,477 ****
                lock--;
  
                /* initialize table that maps drag lock mask to target mask */
!               pLock->nib_table[lock / NIB_SIZE][1 << (lock % NIB_BITS)] = 
                        targetM;
  
                /* add new drag lock to mask of drag locks */
--- 471,477 ----
                lock--;
  
                /* initialize table that maps drag lock mask to target mask */
!               pLock->nib_table[lock / NIB_BITS][1 << (lock % NIB_BITS)] = 
                        targetM;
  
                /* add new drag lock to mask of drag locks */
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to