Xi: XISelectEvents/XIGetSelectedEvents use 'win' instead of 'window' now.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
b2bf67b61c
commit
b67ff1d6e0
|
@ -46,7 +46,7 @@ SProcXISelectEvents(ClientPtr client)
|
|||
REQUEST(xXISelectEventsReq);
|
||||
swaps(&stuff->length, n);
|
||||
REQUEST_AT_LEAST_SIZE(xXISelectEventsReq);
|
||||
swapl(&stuff->window, n);
|
||||
swapl(&stuff->win, n);
|
||||
swaps(&stuff->num_masks, n);
|
||||
|
||||
evmask = (xXIEventMask*)&stuff[1];
|
||||
|
@ -76,7 +76,7 @@ ProcXISelectEvents(ClientPtr client)
|
|||
if (stuff->num_masks == 0)
|
||||
return BadValue;
|
||||
|
||||
rc = dixLookupWindow(&win, stuff->window, client, DixReceiveAccess);
|
||||
rc = dixLookupWindow(&win, stuff->win, client, DixReceiveAccess);
|
||||
if (rc != Success)
|
||||
return rc;
|
||||
|
||||
|
@ -154,7 +154,7 @@ SProcXIGetSelectedEvents(ClientPtr client)
|
|||
REQUEST(xXIGetSelectedEventsReq);
|
||||
swaps(&stuff->length, n);
|
||||
REQUEST_SIZE_MATCH(xXIGetSelectedEventsReq);
|
||||
swapl(&stuff->window, n);
|
||||
swapl(&stuff->win, n);
|
||||
|
||||
return (ProcXIGetSelectedEvents(client));
|
||||
}
|
||||
|
@ -175,7 +175,7 @@ ProcXIGetSelectedEvents(ClientPtr client)
|
|||
REQUEST(xXIGetSelectedEventsReq);
|
||||
REQUEST_SIZE_MATCH(xXIGetSelectedEventsReq);
|
||||
|
||||
rc = dixLookupWindow(&win, stuff->window, client, DixReceiveAccess);
|
||||
rc = dixLookupWindow(&win, stuff->win, client, DixReceiveAccess);
|
||||
if (rc != Success)
|
||||
return rc;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user