1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-11 16:08:13 +00:00

* nsfns.m (ns_set_background_color): Remove code duplication.

This commit is contained in:
Seiji Zenitani 2008-12-07 05:00:54 +00:00
parent df36ff1f38
commit aa96c42b3a
2 changed files with 5 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2008-12-07 Seiji Zenitani <zenitani@mac.com>
* nsfns.m (ns_set_background_color): Remove code duplication.
It was a substite for face-transparency on OS X 10.3.
2008-12-06 Chong Yidong <cyd@stupidchicken.com>
* coding.c (make_conversion_work_buffer): Disable buffer

View File

@ -389,14 +389,6 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side
[[view window] setBackgroundColor: col];
alpha = [col alphaComponent];
#ifdef NS_IMPL_COCOA
/* the alpha code below only works on 10.4, so we need to do something
else (albeit less good) otherwise.
Check NSApplication.h for useful NSAppKitVersionNumber values. */
if (NSAppKitVersionNumber < 744.0)
[[view window] setAlphaValue: alpha];
#endif
if (alpha != 1.0)
[[view window] setOpaque: NO];
else