xf86-video-intel: src/i830_driver.c
Eamon Walsh
ewalsh at kemper.freedesktop.org
Mon Dec 18 21:09:42 EET 2006
src/i830_driver.c | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
New commits:
diff-tree 1975fa5b010100196af201e40f43b30a149b7750 (from 08575331ac75783c9910cfb6e78db701a29983ac)
Author: Eamon Walsh <ewalsh at tycho.nsa.gov>
Date: Mon Dec 18 14:08:55 2006 -0500
Revert "Convert callers of LookupWindow() to dixLookupWindow()."
This reverts commit 08575331ac75783c9910cfb6e78db701a29983ac.
diff --git a/src/i830_driver.c b/src/i830_driver.c
index e133c85..e950d7c 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -1760,9 +1760,8 @@ I830ProcXineramaGetState(ClientPtr clien
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
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
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;
More information about the xorg-commit
mailing list