From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: [sdl.web@gmail.com: Re: problem with transparent PNG image display] Date: Mon, 06 Aug 2007 13:29:40 -0400 Message-ID: <87vebsefln.fsf@stupidchicken.com> References: <46A527C9.7040401@gnu.org> <877io8fy2j.fsf@stupidchicken.com> <46B74F39.9090906@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186421597 18129 80.91.229.12 (6 Aug 2007 17:33:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2007 17:33:17 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 06 19:33:14 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1II6S1-00023m-0m for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2007 19:33:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1II6Rz-0005cn-1n for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2007 13:33:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1II6Rw-0005ci-Vv for emacs-devel@gnu.org; Mon, 06 Aug 2007 13:33:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1II6Rt-0005aB-Eb for emacs-devel@gnu.org; Mon, 06 Aug 2007 13:33:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1II6Rt-0005a6-8m for emacs-devel@gnu.org; Mon, 06 Aug 2007 13:32:57 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1II6RV-0001O2-I4; Mon, 06 Aug 2007 13:32:34 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 6ADAC4E35D; Mon, 6 Aug 2007 13:29:40 -0400 (EDT) In-Reply-To: <46B74F39.9090906@gnu.org> (Jason Rumney's message of "Mon\, 06 Aug 2007 17\:41\:29 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Detected-Kernel: Linux 2.6 (newer, 1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:76098 Archived-At: Jason Rumney writes: > Chong Yidong wrote: >> There is code to handle this in the trunk, but not in the branch. >> >> I just changed the trunk code further to ignore the background color >> specified by the png image (now that Emacs can properly handle >> transparency, it is more correct to always use the frame background). > > It should be the face background, not the frame background. My > understanding is that the existing code that checks the frame background > was to fix a different bug with image caching. Why should images be displayed with the face background? That behavior doesn't make sense, since images are not displayed with a face.