summaryrefslogtreecommitdiff
path: root/xkb/ddxDevBtn.c
diff options
context:
space:
mode:
Diffstat (limited to 'xkb/ddxDevBtn.c')
-rw-r--r--xkb/ddxDevBtn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/ddxDevBtn.c b/xkb/ddxDevBtn.c
index 709efc13a..03fb440fe 100644
--- a/xkb/ddxDevBtn.c
+++ b/xkb/ddxDevBtn.c
@@ -116,7 +116,7 @@ DeviceIntPtr master = NULL;
if (!IsPointerDevice(master))
master = GetPairedDevice(dev->u.master);
- CopyGetMasterEvent(master, &events, masterEvents, count);
+ CopyGetMasterEvent(master, dev, &events, masterEvents, count);
}
(*dev->public.processInputProc)((xEventPtr)btn, dev, count);