From e82080179b24c930003e7fa2f580240c9aedd583 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 20 Jun 2008 09:59:25 +0000 Subject: updated for version 7.1-318 --- src/gui_x11.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui_x11.c') diff --git a/src/gui_x11.c b/src/gui_x11.c index 3f2a25675..2842fa092 100644 --- a/src/gui_x11.c +++ b/src/gui_x11.c @@ -1538,8 +1538,11 @@ gui_mch_init() attr.depth = DefaultDepthOfScreen(scr); if (!icon) + { XpmCreatePixmapFromData(dsp, root_window, magick, &icon, &icon_mask, &attr); + XpmFreeAttributes(&attr); + } # ifdef FEAT_GUI_ATHENA XtVaSetValues(vimShell, XtNiconPixmap, icon, XtNiconMask, icon_mask, NULL); -- cgit v1.2.1