mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Reset clip region back to NULL on cached GC (rest of #134728)
Wed Feb 18 14:27:08 2004 Soeren Sandmann <sandmann@daimi.au.dk> * gdk/gdkwindow.c (gdk_window_get_composite_drawable): Reset clip region back to NULL on cached GC (rest of #134728)
This commit is contained in:
parent
df434db70e
commit
f539d99334
@ -1,6 +1,11 @@
|
||||
Wed Feb 18 14:27:08 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_get_composite_drawable): Reset clip
|
||||
region back to NULL on cached GC (rest of #134728)
|
||||
|
||||
Wed Feb 18 13:28:57 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
Fix bug reported by Nam SungHyun.
|
||||
Fix bug reported by Nam SungHyun (#134728)
|
||||
|
||||
* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_threshold_alpha):
|
||||
Don't use a cached GC here since the function needs to modify the
|
||||
|
@ -1,6 +1,11 @@
|
||||
Wed Feb 18 14:27:08 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_get_composite_drawable): Reset clip
|
||||
region back to NULL on cached GC (rest of #134728)
|
||||
|
||||
Wed Feb 18 13:28:57 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
Fix bug reported by Nam SungHyun.
|
||||
Fix bug reported by Nam SungHyun (#134728)
|
||||
|
||||
* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_threshold_alpha):
|
||||
Don't use a cached GC here since the function needs to modify the
|
||||
|
@ -1,6 +1,11 @@
|
||||
Wed Feb 18 14:27:08 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_get_composite_drawable): Reset clip
|
||||
region back to NULL on cached GC (rest of #134728)
|
||||
|
||||
Wed Feb 18 13:28:57 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
Fix bug reported by Nam SungHyun.
|
||||
Fix bug reported by Nam SungHyun (#134728)
|
||||
|
||||
* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_threshold_alpha):
|
||||
Don't use a cached GC here since the function needs to modify the
|
||||
|
@ -1,6 +1,11 @@
|
||||
Wed Feb 18 14:27:08 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_get_composite_drawable): Reset clip
|
||||
region back to NULL on cached GC (rest of #134728)
|
||||
|
||||
Wed Feb 18 13:28:57 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
Fix bug reported by Nam SungHyun.
|
||||
Fix bug reported by Nam SungHyun (#134728)
|
||||
|
||||
* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_threshold_alpha):
|
||||
Don't use a cached GC here since the function needs to modify the
|
||||
|
@ -1,6 +1,11 @@
|
||||
Wed Feb 18 14:27:08 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_get_composite_drawable): Reset clip
|
||||
region back to NULL on cached GC (rest of #134728)
|
||||
|
||||
Wed Feb 18 13:28:57 2004 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
Fix bug reported by Nam SungHyun.
|
||||
Fix bug reported by Nam SungHyun (#134728)
|
||||
|
||||
* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_threshold_alpha):
|
||||
Don't use a cached GC here since the function needs to modify the
|
||||
|
@ -1033,6 +1033,7 @@ gdk_window_end_paint (GdkWindow *window)
|
||||
clip_box.x - x_offset, clip_box.y - y_offset,
|
||||
clip_box.width, clip_box.height);
|
||||
|
||||
/* Reset clip region of the cached GdkGC */
|
||||
gdk_gc_set_clip_region (tmp_gc, NULL);
|
||||
|
||||
g_object_unref (paint->pixmap);
|
||||
@ -1424,6 +1425,9 @@ gdk_window_get_composite_drawable (GdkDrawable *drawable,
|
||||
0, 0, width, height);
|
||||
}
|
||||
|
||||
/* Reset clip region of the cached GdkGC */
|
||||
gdk_gc_set_clip_region (tmp_gc, NULL);
|
||||
|
||||
/* Set these to location of tmp_pixmap within the window */
|
||||
*composite_x_offset = x;
|
||||
*composite_y_offset = y;
|
||||
|
Loading…
Reference in New Issue
Block a user