]> Pileus Git - ~andy/gtk/commitdiff
Ensure clip region valid before using it for emulating graphics exposures
authorAlexander Larsson <alexl@redhat.com>
Fri, 4 Sep 2009 14:01:35 +0000 (16:01 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 4 Sep 2009 14:06:51 +0000 (16:06 +0200)
If there is a drawable clip on it we don't want to use that.

gdk/gdkwindow.c

index 6f7ec3d1ffeb6d83543f0ca95fb531a97d70bf94..3c611e012a9e9a0ea4fe1794cd8e1c9db809ad69 100644 (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)
            {