Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-2-0] xsrc/xfree/xc/programs/Xserver/hw/xfree86/os-support



Module Name:    xsrc
Committed By:   tron
Date:           Sat Jul 24 11:40:04 UTC 2004

Modified Files:
        xsrc/xfree/xc/programs/Xserver/hw/xfree86/os-support [netbsd-2-0]:
            xf86OSmouse.h

Log Message:
Pull up revision 1.2 (requested by heas in ticket #709):
Add a buffer "scale" hint to MouseDevPtr type.  If set, MouseProc() uses it
as a structure size * 4 for the size of the mouse input buffer (Xisb buffer),
else the static size of 64 bytes is allocated.
On LP64, the wscons_event struct is 8 bytes larger.  If more than 2 events
were queued, wsconsReadInput() would get the first 16 bytes of the 3rd event
and thus have bogus events the next time (and until the queue was drained).
Chose this path over handling short reads in wsconsReadInput() so we could
have a buffer large enough to hold more than just 2 events.
Addresses my PR 26189
XFree PR 1438


To generate a diff of this commit:
cvs rdiff -r1.1.1.6 -r1.1.1.6.2.1 \
    xsrc/xfree/xc/programs/Xserver/hw/xfree86/os-support/xf86OSmouse.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index