From: ajh@uk.co.gec-mrc (Andrew Haylett) Subject: selection 1.3: patch for 3-button Mouse Systems devices Date: 20 Jul 1992 16:13:29 GMT
This is a patch to version 1.3 of selection, courtesy of Bill Earnest, that
fixes a problem with 3-button Mouse Systems devices. Apply by going into your
selection source directory and typing 'patch < patch-filename'.
*** mouse.c Mon Jul 20 17:06:52 1992
--- mouse.c.new Mon Jul 20 17:08:31 1992
***************
*** 123,127 ****
int get_ms_event(struct ms_event *ev)
{
! unsigned char buf[3];
char dx, dy;
int i, acc;
--- 123,127 ----
int get_ms_event(struct ms_event *ev)
{
! unsigned char buf[5];
char dx, dy;
int i, acc;
-- Andrew Haylett | Inet: ajh@gec-mrc.co.uk | Fax: +44 245 75244 GEC-Marconi Research | Tel: +44 245 73331 x.3283 | Telex: 995016 GECRES G