Module Name:    xsrc
Committed By:   tsutsui
Date:           Sat Nov 21 03:02:09 UTC 2020

Modified Files:
        xsrc/external/mit/xorg-server/dist/hw/sun: sunMouse.c

Log Message:
valuator_mask_zero() is enough for mouse button events.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/xorg-server/dist/hw/sun/sunMouse.c

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

Modified files:

Index: xsrc/external/mit/xorg-server/dist/hw/sun/sunMouse.c
diff -u xsrc/external/mit/xorg-server/dist/hw/sun/sunMouse.c:1.2 xsrc/external/mit/xorg-server/dist/hw/sun/sunMouse.c:1.3
--- xsrc/external/mit/xorg-server/dist/hw/sun/sunMouse.c:1.2	Thu Aug 13 05:12:35 2020
+++ xsrc/external/mit/xorg-server/dist/hw/sun/sunMouse.c	Sat Nov 21 03:02:09 2020
@@ -283,7 +283,7 @@ sunMouseEnqueueEvent(DeviceIntPtr device
 	    }
 	}
 	flag = POINTER_RELATIVE;
-	valuator_mask_set_range(&mask, 0, 0, NULL);
+	valuator_mask_zero(&mask);
 	QueuePointerEvents(device, type, buttons, flag, &mask);
 	break;
     case LOC_X_DELTA:

Reply via email to