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:
parent
e6a18762ef
commit
5e0ca6fabd
|
@ -103,7 +103,7 @@ ProcXISetClientPointer(ClientPtr client)
|
|||
} else
|
||||
targetClient = client;
|
||||
|
||||
if (!SetClientPointer(targetClient, client, pDev))
|
||||
if (!SetClientPointer(targetClient, pDev))
|
||||
{
|
||||
client->errorValue = stuff->deviceid;
|
||||
return BadDevice;
|
||||
|
|
|
@ -5691,8 +5691,7 @@ WriteEventsToClient(ClientPtr pClient, int count, xEvent *events)
|
|||
}
|
||||
|
||||
/*
|
||||
* Set the client pointer for the given client. Second parameter setter could
|
||||
* be used in the future to determine access rights. Unused for now.
|
||||
* Set the client pointer for the given client.
|
||||
*
|
||||
* A client can have exactly one ClientPointer. Each time a
|
||||
* 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.
|
||||
*/
|
||||
Bool
|
||||
SetClientPointer(ClientPtr client, ClientPtr setter, DeviceIntPtr device)
|
||||
SetClientPointer(ClientPtr client, DeviceIntPtr device)
|
||||
{
|
||||
if (!IsMaster(device))
|
||||
{
|
||||
|
|
|
@ -486,8 +486,7 @@ extern _X_EXPORT int TryClientEvents(
|
|||
extern _X_EXPORT void WindowsRestructured(void);
|
||||
|
||||
extern Bool SetClientPointer(
|
||||
ClientPtr /* client */,
|
||||
ClientPtr /* setter */,
|
||||
ClientPtr /* client */,
|
||||
DeviceIntPtr /* device */);
|
||||
|
||||
extern _X_EXPORT DeviceIntPtr PickPointer(
|
||||
|
|
Loading…
Reference in New Issue
Block a user