summaryrefslogtreecommitdiff
path: root/XTrap
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2006-12-19 10:31:40 +1030
committerPeter Hutterer <whot@hyena.localdomain>2006-12-19 10:31:40 +1030
commit2d0a63126b3d3a17005b7e122617ee0c5f44a55b (patch)
tree0b0fd193f19186e0e31d73f64b677a32bead44dc /XTrap
parentd8b5394eda9d92b7193004931caa6c24a337b2e6 (diff)
parent1b029fd896b76096905c516925ce0214fe14632c (diff)
Merge branch 'master' of git://anongit.freedesktop.org/git/xorg/xserver
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 ec85518f4..bc15bbd86 100644
--- a/XTrap/xtrapdi.c
+++ b/XTrap/xtrapdi.c
@@ -1093,8 +1093,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;