Revert "Convert callers of LookupWindow() to dixLookupWindow()."

This reverts commit 08575331ac.
This commit is contained in:
Eamon Walsh 2006-12-18 14:08:55 -05:00 committed by Eamon Walsh
parent 08575331ac
commit 1975fa5b01
1 changed files with 6 additions and 9 deletions

View File

@ -1760,9 +1760,8 @@ I830ProcXineramaGetState(ClientPtr client)
register int n;
REQUEST_SIZE_MATCH(xPanoramiXGetStateReq);
n = dixLookupWindow(&pWin, stuff->window, client, DixUnknownAccess);
if (n != Success)
return n;
pWin = LookupWindow(stuff->window, client);
if(!pWin) return BadWindow;
rep.type = X_Reply;
rep.length = 0;
@ -1786,9 +1785,8 @@ I830ProcXineramaGetScreenCount(ClientPtr client)
register int n;
REQUEST_SIZE_MATCH(xPanoramiXGetScreenCountReq);
n = dixLookupWindow(&pWin, stuff->window, client, DixUnknownAccess);
if (n != Success)
return n;
pWin = LookupWindow(stuff->window, client);
if(!pWin) return BadWindow;
rep.type = X_Reply;
rep.length = 0;
@ -1812,9 +1810,8 @@ I830ProcXineramaGetScreenSize(ClientPtr client)
register int n;
REQUEST_SIZE_MATCH(xPanoramiXGetScreenSizeReq);
n = dixLookupWindow(&pWin, stuff->window, client, DixUnknownAccess);
if (n != Success)
return n;
pWin = LookupWindow (stuff->window, client);
if(!pWin) return BadWindow;
rep.type = X_Reply;
rep.length = 0;