mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-16 19:32:26 +00:00
Remove instances of macro SECURITY_VERIFY_DRAWABLE.
This commit is contained in:
parent
0cf75e7432
commit
51b69ff499
5 changed files with 57 additions and 30 deletions
|
|
@ -703,7 +703,7 @@ ProcRRSetScreenConfig (ClientPtr client)
|
|||
REQUEST(xRRSetScreenConfigReq);
|
||||
xRRSetScreenConfigReply rep;
|
||||
DrawablePtr pDraw;
|
||||
int n;
|
||||
int n, rc;
|
||||
ScreenPtr pScreen;
|
||||
rrScrPrivPtr pScrPriv;
|
||||
TimeStamp configTime;
|
||||
|
|
@ -730,8 +730,9 @@ ProcRRSetScreenConfig (ClientPtr client)
|
|||
has_rate = FALSE;
|
||||
}
|
||||
|
||||
SECURITY_VERIFY_DRAWABLE(pDraw, stuff->drawable, client,
|
||||
DixWriteAccess);
|
||||
rc = dixLookupDrawable(&pDraw, stuff->drawable, client, 0, DixWriteAccess);
|
||||
if (rc != Success)
|
||||
return rc;
|
||||
|
||||
pScreen = pDraw->pScreen;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue