From xemacs-m  Tue Mar 11 04:56:41 1997
Received: from sonne.darmstadt.gmd.de (sonne.darmstadt.gmd.de [141.12.62.20])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id EAA03883
	for <xemacs-beta@xemacs.org>; Tue, 11 Mar 1997 04:56:39 -0600 (CST)
Received: from deimos.darmstadt.gmd.de (deimos [141.12.63.54]) by sonne.darmstadt.gmd.de (8.8.5/8.8.2) with SMTP id LAA18552; Tue, 11 Mar 1997 11:56:05 +0100 (MET)
Date: Tue, 11 Mar 1997 11:56:05 +0100 (MET)
Message-Id: <199703111056.LAA18552@sonne.darmstadt.gmd.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Roland Rieke <rieke@darmstadt.gmd.de>
To: Kyle Jones <kyle_jones@wonderworks.com>
Cc: xemacs-beta@xemacs.org
Subject: [PATCH] 19.15b98: possible fix for toolbar shadow lossage
In-Reply-To: <QQcgin07662.199703110124@crystal.WonderWorks.COM>
References: <199703101351.OAA15982@sonne.darmstadt.gmd.de>
	<QQcghk01503.199703101806@crystal.WonderWorks.COM>
	<8495.858033630@rtp.ericsson.se>
	<QQcgin07662.199703110124@crystal.WonderWorks.COM>

Kyle Jones writes:
 > I think I'm beginning to understand what's going on.  The pixel
 > ...
 >
 > *** /tmp/T0a001Ks	Mon Mar 10 20:20:40 1997
 > --- src/toolbar-x.c	Mon Mar 10 20:13:57 1997
 > ***************
 > *** 673,685 ****
 >     FRAME_X_TOOLBAR_BLANK_BACKGROUND_GC (f) =
 >       XtGetGC ((Widget) ef, flags, &gcv);
 >   
 > !   if (ef->emacs_frame.top_toolbar_shadow_pixel == 0)
 >       {
 >         ef->emacs_frame.top_toolbar_shadow_pixel =
 >   	ef->emacs_frame.background_toolbar_pixel;
 > -     }
 > -   if (ef->emacs_frame.bottom_toolbar_shadow_pixel == 0)
 > -     {
 >         ef->emacs_frame.bottom_toolbar_shadow_pixel =
 >   	ef->emacs_frame.background_toolbar_pixel;
 >       }
 > --- 673,683 ----
 >     FRAME_X_TOOLBAR_BLANK_BACKGROUND_GC (f) =
 >       XtGetGC ((Widget) ef, flags, &gcv);
 >   
 > !   if (ef->emacs_frame.top_toolbar_shadow_pixel ==
 > !       ef->emacs_frame.bottom_toolbar_shadow_pixel)
 >       {
 >         ef->emacs_frame.top_toolbar_shadow_pixel =
 >   	ef->emacs_frame.background_toolbar_pixel;
 >         ef->emacs_frame.bottom_toolbar_shadow_pixel =
 >   	ef->emacs_frame.background_toolbar_pixel;
 >       }
 > 
 > 
 > 
 > 
This works for me on 
Solaris 2.5.1 8-bit Display X11R6 fvwm2

Thanks 
Roland Rieke

