From: Andrew C. <ak...@sh...> - 2002-06-15 03:15:36
|
> I've only been using Emacs 21 or Mac OS X for a little while, but I'm > pretty far along in hacking it. However, I'm having some trouble > keeping my background color correct. The behavior I'm seeing is that > the background color for areas without text is white, regardless of what > I specify in the default. However the background color for areas with > text is what I specify. I'm not sure whether it's emacs 21 or specific > to the mac. It seems to only happen in newly created frames, and it > goes away if I specifically call (set-background-color) > > Here's the code I'm using to specify the frame parameters: > > (cond ((eq window-system 'mac) > (setq default-frame-alist > '((mouse-color . "midnightblue") > (foreground-color . "midnightblue") > (background-color . "antiquewhite1"))) > )) > > Thanks for any help, > -Steven Hi Steven, Please try adding the line XClearWindow (FRAME_MAC_DISPLAY (f), FRAME_MAC_WINDOW (f)); just before the line expose_frame (f, 0, 0, 0, 0); in the function do_window_update in the file macterm.c and see if that solves the problem. Andrew. |