aboutsummaryrefslogtreecommitdiff
path: root/src/evdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/evdev.c')
-rw-r--r--src/evdev.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 806c228..4895317 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -287,6 +287,10 @@ EvdevReadInput(InputInfoPtr pInfo)
default:
button = EvdevUtilButtonEventToButtonNumber(ev.code);
+ /* Handle drag lock */
+ if (EvdevDragLockFilterEvent(pInfo, button, value))
+ break;
+
if (EvdevWheelEmuFilterButton(pInfo, button, value))
break;
@@ -952,6 +956,7 @@ EvdevProc(DeviceIntPtr device, int what)
{
EvdevMBEmuPreInit(pInfo);
EvdevWheelEmuPreInit(pInfo);
+ EvdevDragLockInit(pInfo);
}
device->public.on = TRUE;
}