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