input: remove un-used "setter" argument from SetClientPointer.

It's obsolete, not likely to come back, let's drop it.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2009-06-11 16:26:23 +10:00
parent e6a18762ef
commit 5e0ca6fabd
3 changed files with 4 additions and 6 deletions

View File

@ -103,7 +103,7 @@ ProcXISetClientPointer(ClientPtr client)
} else } else
targetClient = client; targetClient = client;
if (!SetClientPointer(targetClient, client, pDev)) if (!SetClientPointer(targetClient, pDev))
{ {
client->errorValue = stuff->deviceid; client->errorValue = stuff->deviceid;
return BadDevice; return BadDevice;

View File

@ -5691,8 +5691,7 @@ WriteEventsToClient(ClientPtr pClient, int count, xEvent *events)
} }
/* /*
* Set the client pointer for the given client. Second parameter setter could * Set the client pointer for the given client.
* be used in the future to determine access rights. Unused for now.
* *
* A client can have exactly one ClientPointer. Each time a * A client can have exactly one ClientPointer. Each time a
* request/reply/event is processed and the choice of devices is ambiguous * request/reply/event is processed and the choice of devices is ambiguous
@ -5701,7 +5700,7 @@ WriteEventsToClient(ClientPtr pClient, int count, xEvent *events)
* If a keyboard is needed, the first keyboard paired with the CP is used. * If a keyboard is needed, the first keyboard paired with the CP is used.
*/ */
Bool Bool
SetClientPointer(ClientPtr client, ClientPtr setter, DeviceIntPtr device) SetClientPointer(ClientPtr client, DeviceIntPtr device)
{ {
if (!IsMaster(device)) if (!IsMaster(device))
{ {

View File

@ -486,8 +486,7 @@ extern _X_EXPORT int TryClientEvents(
extern _X_EXPORT void WindowsRestructured(void); extern _X_EXPORT void WindowsRestructured(void);
extern Bool SetClientPointer( extern Bool SetClientPointer(
ClientPtr /* client */, ClientPtr /* client */,
ClientPtr /* setter */,
DeviceIntPtr /* device */); DeviceIntPtr /* device */);
extern _X_EXPORT DeviceIntPtr PickPointer( extern _X_EXPORT DeviceIntPtr PickPointer(