Expand comment in miClipPictureSrc() to explain why a client clip is required.
authorSøren Sandmann Pedersen <sandmann@redhat.com>
Tue, 7 Jul 2009 00:37:14 +0000 (20:37 -0400)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Tue, 7 Jul 2009 00:38:07 +0000 (20:38 -0400)
pixman/pixman-utils.c

index 188cde8..b7f3af9 100644 (file)
@@ -86,7 +86,9 @@ miClipPictureSrc (pixman_region32_t * pRegion,
                  int           dy)
 {
     /* Source clips are ignored, unless they are explicitly turned on
-     * and the clip in question was set by an X client
+     * and the clip in question was set by an X client. (Because if
+     * the clip was not set by a client, then it is a hierarchy
+     * clip and those should always be ignored for sources).
      */
     if (!pPicture->common.clip_sources || !pPicture->common.client_clip)
        return TRUE;