mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-25 21:02:21 +00:00
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:
parent
dc153271b6
commit
111ef10375
3 changed files with 78 additions and 114 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue