Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
aa96c42b
Commit
aa96c42b
authored
Dec 07, 2008
by
Seiji Zenitani
Browse files
* nsfns.m (ns_set_background_color): Remove code duplication.
parent
df36ff1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
src/ChangeLog
src/ChangeLog
+5
-0
src/nsfns.m
src/nsfns.m
+0
-8
No files found.
src/ChangeLog
View file @
aa96c42b
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
...
...
src/nsfns.m
View file @
aa96c42b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment