[PATCH] Comparison between pointer and integer in latest xserver/dix/dispatch.c

Colin Harrison colin.harrison at virgin.net
Wed Oct 13 09:47:03 PDT 2010


Hi,

Following latest git update shouldn't we have...


--- ./dix/save_dispatch.c  2010-10-13 17:23:15.000000000 +0100
+++ ./dix/dispatch.c        2010-10-13 17:40:35.000000000 +0100
@@ -916,7 +916,7 @@
     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);

Thanks,
Colin Harrison



More information about the xorg-devel mailing list