summaryrefslogtreecommitdiff
path: root/XTrap
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2006-12-15 16:36:29 -0500
committerEamon Walsh <ewalsh@moss-huskies.epoch.ncsc.mil>2006-12-15 16:36:29 -0500
commit10aabb729d1586db344f9c1abdf1cf45e7ddaa7a (patch)
tree4c601a4b49253dec98d4d6d4364c9f61fb30dcc0 /XTrap
parent25d5e0a629f82d95bd71daf9a920a70e095b5188 (diff)
Convert callers of LookupDrawable() to dixLookupDrawable().
Diffstat (limited to 'XTrap')
-rw-r--r--XTrap/xtrapdi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/XTrap/xtrapdi.c b/XTrap/xtrapdi.c
index c5d640d0b..23d3bde7f 100644
--- a/XTrap/xtrapdi.c
+++ b/XTrap/xtrapdi.c
@@ -1092,8 +1092,8 @@ int XETrapRequestVector(ClientPtr client)
pdata->hdr.client = client->index; /* stuff client index in hdr */
if (BitIsTrue(penv->cur.data_config_flags_data,XETrapWinXY))
{
- window_ptr = (WindowPtr) LookupDrawable(stuff->id, client);
- if (window_ptr == 0L)
+ if (Success != dixLookupDrawable(&window_ptr, stuff->id,
+ client, 0, DixUnknownAccess))
{ /* Failed...invalidate the X and Y coordinate data. */
pdata->hdr.win_x = -1L;
pdata->hdr.win_y = -1L;