comparison src/gui_x11.c @ 1605:7d127d580b6d v7.1.318

updated for version 7.1-318
author vimboss
date Fri, 20 Jun 2008 09:59:25 +0000
parents a49d06539452
children 8272535dee77
comparison
equal deleted inserted replaced
1604:3acbcd0d3fd3 1605:7d127d580b6d
1536 attr.closeness = 65535; /* accuracy isn't crucial */ 1536 attr.closeness = 65535; /* accuracy isn't crucial */
1537 attr.colormap = cmap; 1537 attr.colormap = cmap;
1538 attr.depth = DefaultDepthOfScreen(scr); 1538 attr.depth = DefaultDepthOfScreen(scr);
1539 1539
1540 if (!icon) 1540 if (!icon)
1541 {
1541 XpmCreatePixmapFromData(dsp, root_window, magick, &icon, 1542 XpmCreatePixmapFromData(dsp, root_window, magick, &icon,
1542 &icon_mask, &attr); 1543 &icon_mask, &attr);
1544 XpmFreeAttributes(&attr);
1545 }
1543 1546
1544 # ifdef FEAT_GUI_ATHENA 1547 # ifdef FEAT_GUI_ATHENA
1545 XtVaSetValues(vimShell, XtNiconPixmap, icon, XtNiconMask, icon_mask, NULL); 1548 XtVaSetValues(vimShell, XtNiconPixmap, icon, XtNiconMask, icon_mask, NULL);
1546 # else 1549 # else
1547 XtVaSetValues(vimShell, XmNiconPixmap, icon, XmNiconMask, icon_mask, NULL); 1550 XtVaSetValues(vimShell, XmNiconPixmap, icon, XmNiconMask, icon_mask, NULL);