diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-04-23 15:52:18 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-05-10 14:32:37 +1000 |
commit | 925e35122ebad877395bcf13676e9dbeb254bdfa (patch) | |
tree | 872778817cfea50ac0050cd7f100340c6e464471 /Xi/ungrdevk.c | |
parent | 4980bcef9973ba1f90f53028f061669ee5d2661b (diff) |
dix: AllocGrab can copy if an argument is passed in
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/ungrdevk.c')
-rw-r--r-- | Xi/ungrdevk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/ungrdevk.c b/Xi/ungrdevk.c index 3273878d3..f98117168 100644 --- a/Xi/ungrdevk.c +++ b/Xi/ungrdevk.c @@ -134,7 +134,7 @@ ProcXUngrabDeviceKey(ClientPtr client) (stuff->modifiers & ~AllModifiersMask)) return BadValue; - temporaryGrab = AllocGrab(); + temporaryGrab = AllocGrab(NULL); if (!temporaryGrab) return BadAlloc; |