From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Mauger Newsgroups: gmane.emacs.devel Subject: Re: [Macemacsjp-dev 100] [Mac OS X] [Win32] Frame-transparency patch Date: Fri, 17 Jun 2005 20:56:12 +0000 (UTC) Message-ID: References: <47B1D513-959C-4F8E-8FD1-CCE29BFFB9D4@mac.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1119042897 6817 80.91.229.2 (17 Jun 2005 21:14:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Jun 2005 21:14:57 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 17 23:14:56 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DjOA7-0006Y2-8V for ged-emacs-devel@m.gmane.org; Fri, 17 Jun 2005 23:14:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DjOFn-0005TT-Ot for ged-emacs-devel@m.gmane.org; Fri, 17 Jun 2005 17:19:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DjO6i-0003J1-Vo for emacs-devel@gnu.org; Fri, 17 Jun 2005 17:10:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DjO6S-000385-Fn for emacs-devel@gnu.org; Fri, 17 Jun 2005 17:10:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DjO6O-00036Z-Pp for emacs-devel@gnu.org; Fri, 17 Jun 2005 17:10:12 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DjO1D-0000mx-Ul for emacs-devel@gnu.org; Fri, 17 Jun 2005 17:04:52 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DjNt0-0003M8-MG for emacs-devel@gnu.org; Fri, 17 Jun 2005 22:56:22 +0200 Original-Received: from 32.97.32.247 ([32.97.32.247]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Jun 2005 22:56:22 +0200 Original-Received: from mmaug by 32.97.32.247 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Jun 2005 22:56:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 26 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 32.97.32.247 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; bkbrel07)) 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:39048 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39048 Seiji Zenitani tkg.att.ne.jp> writes: > =========== > > 1. Target operating systems > > * Mac OSX : 'Carbon Emacs' > * Windows XP, 2000, ME : 'NTEmacs' > > 2. How to build > > * Mac OSX > Frame-transparency is automatically enabled when compiled on Mac OSX > 10.2 or later. > > * MS Windows > If you use Windows XP, 2000 or ME, add manually the below switch when > configuring. > CFLAGS=-DUSE_TRANSPARENCY > Interesting patch. SetLayeredWindowAttributes is not available on all W32 releases, so you ought to dynamically locate it and call it only when available. (See http://www.codeproject.com/win32/quaker1.asp for an example.) I build on a machine without it, but run the executables on a machine that does. This will be a common situation with the released executables.