changeset 282:916045924784

Fixed the mask in dw_window_set_bitmap() when using imlib.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 17 Mar 2003 14:45:08 +0000
parents 2f038ef90a36
children 54aafc134652
files gtk/dw.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/dw.c	Fri Mar 14 18:20:50 2003 +0000
+++ b/gtk/dw.c	Mon Mar 17 14:45:08 2003 +0000
@@ -2643,6 +2643,7 @@
 
 		gdk_imlib_render(image, image->rgb_width, image->rgb_height);
 		tmp = gdk_imlib_copy_image(image);
+		bitmap = gdk_imlib_copy_mask(image);
 		gdk_imlib_destroy_image(image);
 #else
 		tmp = gdk_pixmap_create_from_xpm(handle->window, &bitmap, &_colors[DW_CLR_PALEGRAY], file);