To:
[email protected]
Subject: Patch 6.0ax.004
Fcc: outbox
From: Bram Moolenaar <
[email protected]>
------------
Patch 6.0ax.004
Problem: Motif and Workshop interface: A sign icon has a black background.
Solution: Include Xm/XpmP.h instead of X11/xpm.h to get a transparent
background.
Files: src/gui_x11.c
*** ../vim60ax.3/src/gui_x11.c Sat Sep 15 15:40:41 2001
--- src/gui_x11.c Thu Sep 20 20:29:10 2001
***************
*** 21,31 ****
#include "vim.h"
! #ifdef HAVE_X11_XPM_H
! # include <X11/xpm.h>
#else
! # if defined(HAVE_XM_XPMP_H) && defined(FEAT_GUI_MOTIF)
! # include <Xm/XpmP.h>
# endif
#endif
--- 21,36 ----
#include "vim.h"
! /*
! * For Workshop XpmP.h is preferred, because it makes the signs drawn with a
! * transparent background instead of black.
! */
! #if defined(HAVE_XM_XPMP_H) && defined(FEAT_GUI_MOTIF) \
! && (!defined(HAVE_X11_XPM_H) || defined(FEAT_SUN_WORKSHOP))
! # include <Xm/XpmP.h>
#else
! # ifdef HAVE_X11_XPM_H
! # include <X11/xpm.h>
# endif
#endif
*** ../vim60ax.3/src/version.c Thu Sep 20 22:54:11 2001
--- src/version.c Thu Sep 20 22:55:04 2001
***************
*** 608,609 ****
--- 608,611 ----
{ /* Add new patch number below this line */
+ /**/
+ 4,
/**/
--
[Autumn changed into Winter ... Winter changed into Spring ... Spring
changed back into Autumn and Autumn gave Winter and Spring a miss and
went straight on into Summer ... Until one day ...]
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar --
[email protected] --
http://www.moolenaar.net \\\
((( Creator of Vim --
http://vim.sf.net --
ftp://ftp.vim.org/pub/vim )))
\\\ Help me helping AIDS orphans in Uganda -
http://iccf-holland.org ///