Comparison between pointer and integer in latest dix/dispatch.c
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
da4eebe58e
commit
ff82f724e4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue