aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/Xi/ungrdevb.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/Xi/ungrdevb.c')
-rw-r--r--xorg-server/Xi/ungrdevb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/Xi/ungrdevb.c b/xorg-server/Xi/ungrdevb.c
index c4632fadc..b02510ea0 100644
--- a/xorg-server/Xi/ungrdevb.c
+++ b/xorg-server/Xi/ungrdevb.c
@@ -127,7 +127,7 @@ ProcXUngrabDeviceButton(ClientPtr client)
(stuff->modifiers & ~AllModifiersMask))
return BadValue;
- temporaryGrab = AllocGrab();
+ temporaryGrab = AllocGrab(NULL);
if (!temporaryGrab)
return BadAlloc;