dix: move ProcGrabPointer guts into GrabDevice.

Yes, this means we have even more arguments to GrabDevice. But it beats having
a copy of most but not all of GrabDevice in ProcGrabPointer.
Also, reshuffle the order of parameters, the CARD* status is a return value
and should be last.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2009-03-19 09:33:02 +10:00
commit 111ef10375
3 changed files with 78 additions and 114 deletions

View file

@ -434,8 +434,10 @@ extern _X_EXPORT int GrabDevice(
unsigned /* ownerEvents */,
Time /* ctime */,
Mask /* mask */,
CARD8 * /* status */,
Bool /* coreGrab */);
Bool /* coreGrab */,
Cursor /* curs */,
Window /* confineToWin */,
CARD8 * /* status */);
extern _X_EXPORT void InitEvents(void);