summaryrefslogtreecommitdiff
path: root/dix/dispatch.c
diff options
context:
space:
mode:
authorColin Harrison <colin.harrison@virgin.net>2010-10-13 10:20:06 -0700
committerKeith Packard <keithp@keithp.com>2010-10-13 10:20:06 -0700
commitff82f724e4ed24d73f15fa9c35a1d0c2c7d8cef7 (patch)
tree4ad21fd68244f511a87ba53f116eb8d3e4e7ee0e /dix/dispatch.c
parentda4eebe58ec81e2297cc1773af1fb622fb392bbd (diff)
Comparison between pointer and integer in latest dix/dispatch.c
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'dix/dispatch.c')
-rw-r--r--dix/dispatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/dispatch.c b/dix/dispatch.c
index 35e7ddd99..b66861f78 100644
--- a/dix/dispatch.c
+++ b/dix/dispatch.c
@@ -916,7 +916,7 @@ GetGeometry(ClientPtr client, xGetGeometryReply *rep)
rep->width = pDraw->width;
rep->height = pDraw->height;
- if (WindowDrawable(pDraw))
+ if (WindowDrawable(pDraw->type))
{
WindowPtr pWin = (WindowPtr)pDraw;
rep->x = pWin->origin.x - wBorderWidth (pWin);