summaryrefslogtreecommitdiff
path: root/src/radeon_mergedfb.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2006-12-18 14:06:15 -0500
committerEamon Walsh <ewalsh@moss-huskies.epoch.ncsc.mil>2006-12-18 14:06:15 -0500
commit81f3b4070b70483d6da4f7587e52a64ac69c8ca0 (patch)
treed4a5a5d0430a640a2e01105a3285c8c8dc330e2f /src/radeon_mergedfb.c
parent48ff33a1770f3684cd50184db8f1944a456d9974 (diff)
Revert "Convert callers of LookupWindow() to dixLookupWindow()."
This reverts commit 48ff33a1770f3684cd50184db8f1944a456d9974.
Diffstat (limited to 'src/radeon_mergedfb.c')
-rw-r--r--src/radeon_mergedfb.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/radeon_mergedfb.c b/src/radeon_mergedfb.c
index 51b1720..820ba4b 100644
--- a/src/radeon_mergedfb.c
+++ b/src/radeon_mergedfb.c
@@ -1008,9 +1008,8 @@ RADEONProcXineramaGetState(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;
@@ -1034,9 +1033,8 @@ RADEONProcXineramaGetScreenCount(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;
@@ -1060,9 +1058,8 @@ RADEONProcXineramaGetScreenSize(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;