Ticket #30927: rootlessScreen.c.diff

File rootlessScreen.c.diff, 606 bytes (added by daitakahashi, 12 years ago)

xorg-server patch

  • xorg-server-1.11.1/miext/rootless/rootlessScreen.c

     
    247247    WindowPtr srcWin, dstWin, maskWin = NULL;
    248248
    249249    if (pMask) {                        // pMask can be NULL
    250         maskWin = (pMask->pDrawable->type == DRAWABLE_WINDOW) ?
     250        maskWin = (pMask->pDrawable && pMask->pDrawable->type == DRAWABLE_WINDOW) ?
    251251                  (WindowPtr)pMask->pDrawable :  NULL;
    252252    }
    253253    srcWin  = (pSrc->pDrawable && pSrc->pDrawable->type  == DRAWABLE_WINDOW) ?