From xemacs-m  Mon Mar 10 12:06:38 1997
Received: from crystal.WonderWorks.COM (crystal.WonderWorks.com [192.203.206.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id MAA01156
	for <xemacs-beta@xemacs.org>; Mon, 10 Mar 1997 12:06:31 -0600 (CST)
Received: by crystal.WonderWorks.COM 
	id QQcghk01503; Mon, 10 Mar 1997 13:06:23 -0500 (EST)
Date: Mon, 10 Mar 1997 13:06:23 -0500 (EST)
Message-Id: <QQcghk01503.199703101806@crystal.WonderWorks.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Kyle Jones <kyle_jones@wonderworks.com>
To: xemacs-beta@xemacs.org
Subject: toolbar-shadow b97->b98
In-Reply-To: <199703101351.OAA15982@sonne.darmstadt.gmd.de>
References: <199703101351.OAA15982@sonne.darmstadt.gmd.de>
X-Face: /cA45WHG7jWq>(O3&Z57Y<"WsX5ddc,4c#w0F*zrV#=M
        0@~@,s;b,aMtR5Sqs"+nU.z^CSFQ9t`z2>W,S,]:[+2^
        Nbf6v4g>!&,7R4Ot4Wg{&tm=WX7P["9%a)_da48-^tGy
        ,qz]Z,Zz\{E.,]'EO+F)@$KtF&V

I did a Solaris build and the shadows are fine for me.  I'll try
it under a differnet X server, but I'm not hopeful.  Someone who
can duplicate the problem will have to look at it under the
debugger.

The relevant function is x_initialize_frame_toolbar_gcs.
The code that is likely failing is

  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;
    }

Both of these if's should fail in an XEmacs without
topToolBarShadowColor and bottomToolBarShadowColor resources
defined.

