emacs-devel
[Top][All Lists]
Advanced

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

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


From: Takashi Hiromatsu
Subject: Re: [Mac OS X] [Win32] Frame-transparency patch
Date: Tue, 21 Jun 2005 05:36:12 +0900
User-agent: Wanderlust/2.15.1 (Almost Unreal) SEMI/1.14.6 (Maruoka) LIMIT/1.14.9 (Domyoji) APEL/10.6 Emacs/22.0.50 (powerpc-apple-darwin8.1.0) MULE/5.0 (SAKAKI)

> Thank you for your suggestion. I will try it soon.

We have done. How about this?

* On W32, dynamically check the SetLayeredWindowAttributes function
  instead of compiler switchs like "#ifdef".
* On Mac, use Gestalt function to chekc OSX version instead of compiler
  switchs.
* then no longer needed any configuration options.
* change the function x_set_frame_alpha in (mac|w32)term.c to extern, then
  can be called from (mac|w32)fns.c too.
* In frame.el, use "(eq system-type 'windows-nt)" instead of
    "(frame-parameter nil 'active-alpha)" to check tranparency function.

Takashi Hiromatsu

Attachment: transparency2.patch
Description: Binary data


reply via email to

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