kdrive: fix wrong use of &, should be | instead.
Fallout from 26e7e69ab8
This commit is contained in:
parent
6528eb885d
commit
656d5d9885
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user