mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-02 02:38:07 +02:00
Leave clientClipType as CT_NONE if region is NULL (thanks to Vladimir Vukicevic <vladimir@pobox.com>).
This commit is contained in:
parent
c7230543b0
commit
9faef192af
3 changed files with 11 additions and 2 deletions
|
|
@ -5,6 +5,7 @@ Jakub Bogusz <qboosh@pld-linux.org> Fixes for 64-bit machines.
|
|||
Anders Carlsson <andersca@gnome.org> Build fixes. New accessor functions.
|
||||
Richard Henderson <rth@twiddle.net> "slim" macros for better shared libraries
|
||||
Keith Packard <keithp@keithp.com> The original implementation of the compositing code.
|
||||
Vladimir Vukicevic <vladimir@pobox.com> Bug fix.
|
||||
Bryan Worth <bryan@theworths.org> Cleanups to not depend on X header files.
|
||||
Carl Worth <carl@theworths.org> General maintenance. Original port from X server code.
|
||||
Richard Worth <richard@theworths.org> Build fixes for cygwin.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
2004-05-06 Carl Worth <cworth@isi.edu>
|
||||
|
||||
* src/icimage.c (pixman_image_set_clip_region): Leave
|
||||
clientClipType as CT_NONE if region is NULL (thanks to Vladimir
|
||||
Vukicevic <vladimir@pobox.com>).
|
||||
|
||||
2004-04-16 Carl Worth <cworth@isi.edu>
|
||||
|
||||
* NEWS: Add notes for snapshot 0.1.1
|
||||
|
|
|
|||
|
|
@ -263,8 +263,10 @@ pixman_image_set_clip_region (pixman_image_t *image,
|
|||
pixman_region16_t *region)
|
||||
{
|
||||
pixman_image_destroyClip (image);
|
||||
image->clientClip = region;
|
||||
image->clientClipType = CT_REGION;
|
||||
if (region) {
|
||||
image->clientClip = region;
|
||||
image->clientClipType = CT_REGION;
|
||||
}
|
||||
image->stateChanges |= CPClipMask;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue