[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Macemacsjp-dev 100] [Mac OS X] [Win32] Frame-transparency patch

From: Seiji Zenitani
Subject: Re: [Macemacsjp-dev 100] [Mac OS X] [Win32] Frame-transparency patch
Date: Wed, 15 Jun 2005 01:57:11 +0900


we have slightly revised the frame-transparency patch in order to fix compilation errors in some occasions. Comments, feedbacks and suggestions are welcome. You can see some screenshots at the following URL.


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.

3. Parameters

Two frame parameters are introduced:

* active-alpha : window opacity of the frontmost frame.
* inactive-alpha : window opacity of non-active frames.

Window opacity will be set by using a float value between 0.0 (invisible) to 1.0 (completely opaque). By default they are set to 1.0.

4. sample settings

To set frame-transparency of the current frame

        ;; active frame
        (set-frame-parameter (selected-frame) 'active-alpha 0.9)
        ;; non active frame
        (set-frame-parameter (selected-frame) 'inactive-alpha 0.8)

To set the default frame parameters

        (setq default-frame-alist
                '(active-alpha . 0.9)  ;; active frame
                '(inactive-alpha . 0.8) ;; non active frame
                ) default-frame-alist)

5. authors

Ryo Yoshitake, Takashi Hiromatsu, Seiji Zenitani

contact: address@hidden



Seiji Zenitani

Attachment: transparency2.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]