Ensure clip region valid before using it for emulating graphics exposures

If there is a drawable clip on it we don't want to use that.
This commit is contained in:
Alexander Larsson 2009-09-04 16:01:35 +02:00
parent 294e222fa8
commit 4adcb39f86

View File

@ -3781,6 +3781,7 @@ gdk_window_draw_drawable (GdkDrawable *drawable,
clip = private->clip_region;
gdk_region_intersect (exposure_region, clip);
_gdk_gc_remove_drawable_clip (gc);
clip = _gdk_gc_get_clip_region (gc);
if (clip)
{