mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 12:25:07 +00:00
kdrive: fix wrong use of &, should be | instead.
Fallout from 26e7e69ab8
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user