From xemacs-m  Sat Feb 22 12:12:03 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 MAA07007
	for <xemacs-beta@xemacs.org>; Sat, 22 Feb 1997 12:12:01 -0600 (CST)
Received: by crystal.WonderWorks.COM 
	id QQceai13570; Sat, 22 Feb 1997 13:12:02 -0500 (EST)
Date: Sat, 22 Feb 1997 13:12:02 -0500 (EST)
Message-Id: <QQceai13570.199702221812@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: [PATCH] 20.1b1: xpm images instantiated with wrong background color

When instantiating an XPM image, XEmacs uses too wide a domain
for the color instance derived from xpm-color-symbols.  The fix
if to call Fspecifier_instance with a Qnil domain argument so
that it uses the selected window instead of the current device as
the domain.

*** 1.1	1997/02/22 17:51:56
--- src/glyphs-x.c	1997/02/22 17:52:09
***************
*** 2521,2527 ****
        else
          {
            assert (COLOR_SPECIFIERP (value));
!           value = Fspecifier_instance (value, device, Qnil, Qnil);
          }
        if (NILP (value))
          continue;
--- 2521,2527 ----
        else
          {
            assert (COLOR_SPECIFIERP (value));
!           value = Fspecifier_instance (value, Qnil, Qnil, Qnil);
          }
        if (NILP (value))
          continue;

