GNOME Bugzilla – Bug 707081
shaped-texture: Prevent no clip region from being used as an empty clip region
Last modified: 2013-08-29 20:18:37 UTC
Spotted by Giovanni.
Created attachment 253546 [details] [review] shaped-texture: Prevent no clip region from being used as an empty clip region cairo_region_copy, while valid to call on a NULL pointer, gives us an empty region instead of an infinitely big region, so the interesction won't give us what we want. Just check for this case explicitly.
Review of attachment 253546 [details] [review]: OK.
Attachment 253546 [details] pushed as 23e9947 - shaped-texture: Prevent no clip region from being used as an empty clip region