mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-17 19:42:21 +00:00
Convert callers of SecurityLookupWindow() to dixLookupWindow().
This commit is contained in:
parent
04c721854f
commit
25d5e0a629
18 changed files with 273 additions and 312 deletions
|
|
@ -193,12 +193,12 @@ ProcXFixesSelectSelectionInput (ClientPtr client)
|
|||
{
|
||||
REQUEST (xXFixesSelectSelectionInputReq);
|
||||
WindowPtr pWin;
|
||||
int rc;
|
||||
|
||||
REQUEST_SIZE_MATCH (xXFixesSelectSelectionInputReq);
|
||||
pWin = (WindowPtr)SecurityLookupWindow(stuff->window, client,
|
||||
DixReadAccess);
|
||||
if (!pWin)
|
||||
return(BadWindow);
|
||||
rc = dixLookupWindow(&pWin, stuff->window, client, DixReadAccess);
|
||||
if (rc != Success)
|
||||
return rc;
|
||||
if (stuff->eventMask & ~SelectionAllEvents)
|
||||
{
|
||||
client->errorValue = stuff->eventMask;
|
||||
|
|
|
|||
Loading…
Reference in a new issue