changeset 259:22a215209887

Also get the mask from imlib.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 20 Feb 2003 23:43:44 +0000
parents b2c436c84e5d
children e320dc29bfcd
files gtk/dw.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/dw.c	Thu Feb 20 23:33:08 2003 +0000
+++ b/gtk/dw.c	Thu Feb 20 23:43:44 2003 +0000
@@ -4218,6 +4218,7 @@
 
 	gdk_imlib_render(image, image->rgb_width, image->rgb_height);
 	_PixmapArray[found].pixmap = gdk_imlib_copy_image(image);
+	_PixmapArray[found].mask = gdk_imlib_copy_mask(image);
 	gdk_imlib_destroy_image(image);
 #else
 	_PixmapArray[found].pixmap = gdk_pixmap_create_from_xpm(handle->window, &_PixmapArray[found].mask, &_colors[DW_CLR_PALEGRAY], file);