Unset the clip mask for the GC if we set it. (Patch from Lars Hamann

Wed Feb 24 19:08:51 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkclist.c (draw_cell_pixmap): Unset the clip
	mask for the GC if we set it. (Patch from
	Lars Hamann <lars@gtk.org>)
This commit is contained in:
Owen Taylor 1999-02-25 00:04:18 +00:00 committed by Owen Taylor
parent 6333998df4
commit da219872d8
8 changed files with 44 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Wed Feb 24 19:08:51 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclist.c (draw_cell_pixmap): Unset the clip
mask for the GC if we set it. (Patch from
Lars Hamann <lars@gtk.org>)
Thu Feb 24 23:58:44 1999 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c (gtk_signal_handler_pending_by_id): added function

View File

@ -1,3 +1,9 @@
Wed Feb 24 19:08:51 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclist.c (draw_cell_pixmap): Unset the clip
mask for the GC if we set it. (Patch from
Lars Hamann <lars@gtk.org>)
Thu Feb 24 23:58:44 1999 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c (gtk_signal_handler_pending_by_id): added function

View File

@ -1,3 +1,9 @@
Wed Feb 24 19:08:51 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclist.c (draw_cell_pixmap): Unset the clip
mask for the GC if we set it. (Patch from
Lars Hamann <lars@gtk.org>)
Thu Feb 24 23:58:44 1999 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c (gtk_signal_handler_pending_by_id): added function

View File

@ -1,3 +1,9 @@
Wed Feb 24 19:08:51 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclist.c (draw_cell_pixmap): Unset the clip
mask for the GC if we set it. (Patch from
Lars Hamann <lars@gtk.org>)
Thu Feb 24 23:58:44 1999 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c (gtk_signal_handler_pending_by_id): added function

View File

@ -1,3 +1,9 @@
Wed Feb 24 19:08:51 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclist.c (draw_cell_pixmap): Unset the clip
mask for the GC if we set it. (Patch from
Lars Hamann <lars@gtk.org>)
Thu Feb 24 23:58:44 1999 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c (gtk_signal_handler_pending_by_id): added function

View File

@ -1,3 +1,9 @@
Wed Feb 24 19:08:51 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclist.c (draw_cell_pixmap): Unset the clip
mask for the GC if we set it. (Patch from
Lars Hamann <lars@gtk.org>)
Thu Feb 24 23:58:44 1999 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c (gtk_signal_handler_pending_by_id): added function

View File

@ -1,3 +1,9 @@
Wed Feb 24 19:08:51 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclist.c (draw_cell_pixmap): Unset the clip
mask for the GC if we set it. (Patch from
Lars Hamann <lars@gtk.org>)
Thu Feb 24 23:58:44 1999 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c (gtk_signal_handler_pending_by_id): added function

View File

@ -5566,6 +5566,8 @@ draw_cell_pixmap (GdkWindow *window,
gdk_draw_pixmap (window, fg_gc, pixmap, xsrc, ysrc, x, y, width, height);
gdk_gc_set_clip_origin (fg_gc, 0, 0);
if (mask)
gdk_gc_set_clip_mask (fg_gc, NULL);
return x + MAX (width, 0);
}