summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-04-23 15:52:18 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-05-10 14:32:37 +1000
commit925e35122ebad877395bcf13676e9dbeb254bdfa (patch)
tree872778817cfea50ac0050cd7f100340c6e464471 /include
parent4980bcef9973ba1f90f53028f061669ee5d2661b (diff)
dix: AllocGrab can copy if an argument is passed in
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r--include/dixgrabs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dixgrabs.h b/include/dixgrabs.h
index eccec77f8..ca3c95be7 100644
--- a/include/dixgrabs.h
+++ b/include/dixgrabs.h
@@ -31,7 +31,7 @@ struct _GrabParameters;
extern void PrintDeviceGrabInfo(DeviceIntPtr dev);
extern void UngrabAllDevices(Bool kill_client);
-extern GrabPtr AllocGrab(void);
+extern GrabPtr AllocGrab(const GrabPtr src);
extern void FreeGrab(GrabPtr grab);
extern Bool CopyGrab(GrabPtr dst, const GrabPtr src);