appears to merely fix the background colour (arranging for it to
have transparency rather than being on some kind of default grey
background), but it turns out to also fix the strange blurry
behaviour I see in the GNOME Taskbar, for no very obvious reason.
git-svn-id: svn://svn.tartarus.org/sgt/putty@7186
cda61777-01e9-0310-a592-
d414129be87e
int n_icon)
{
GdkPixmap *iconpm;
int n_icon)
{
GdkPixmap *iconpm;
#if GTK_CHECK_VERSION(2,0,0)
GList *iconlist;
int n;
#if GTK_CHECK_VERSION(2,0,0)
GList *iconlist;
int n;
return;
gtk_widget_realize(window);
return;
gtk_widget_realize(window);
- iconpm = gdk_pixmap_create_from_xpm_d(window->window, NULL,
+ iconpm = gdk_pixmap_create_from_xpm_d(window->window, &iconmask,
NULL, (gchar **)icon[0]);
NULL, (gchar **)icon[0]);
- gdk_window_set_icon(window->window, NULL, iconpm, NULL);
+ gdk_window_set_icon(window->window, NULL, iconpm, iconmask);
#if GTK_CHECK_VERSION(2,0,0)
iconlist = NULL;
#if GTK_CHECK_VERSION(2,0,0)
iconlist = NULL;