kdrive: fix wrong use of &, should be | instead.

Fallout from 26e7e69ab8
This commit is contained in:
Peter Hutterer 2008-06-11 17:32:59 +09:30
parent 6528eb885d
commit 656d5d9885

View File

@ -2107,7 +2107,7 @@ KdEnqueuePointerEvent(KdPointerInfo *pi, unsigned long flags, int rx, int ry,
if (flags & KD_MOUSE_DELTA)
{
if (x || y || z)
dixflags = POINTER_RELATIVE & POINTER_ACCELERATE;
dixflags = POINTER_RELATIVE | POINTER_ACCELERATE;
} else if (x != pi->dixdev->last.valuators[0] ||
y != pi->dixdev->last.valuators[1])
dixflags = POINTER_ABSOLUTE;