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/exevents.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/exevents.c')
-rw-r--r-- | Xi/exevents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c index 2495adee5..2feddd3b3 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -2844,7 +2844,7 @@ CheckDeviceGrabAndHintWindow(WindowPtr pWin, int type, (deliveryMask & DeviceButtonGrabMask)) { GrabPtr tempGrab; - tempGrab = AllocGrab(); + tempGrab = AllocGrab(NULL); if (!tempGrab) return; |