diff options
| author | Karoly Lorentey | 2006-04-01 16:37:26 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2006-04-01 16:37:26 +0000 |
| commit | 5bcee7efff25b675da6da4d6dd31c6bbc822b957 (patch) | |
| tree | b898b9ac65601355dc9f7cf018042bdb3591c1ac /src/macfns.c | |
| parent | ce593f6e6b85e58206264cad983c796ce8dd41a2 (diff) | |
| download | emacs-5bcee7efff25b675da6da4d6dd31c6bbc822b957.tar.gz emacs-5bcee7efff25b675da6da4d6dd31c6bbc822b957.zip | |
Fix previous commit.
* src/frame.c (make_terminal_frame): Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
* src/gtkutil.c (xg_create_frame_widgets): Ditto.
* src/macfns.c (x_set_mouse_color): Ditto.
* src/macfns.c (x_make_gc): Ditto.
* src/msdos.c (ScreenVisualBell): Ditto.
* src/msdos.c (internal_terminal_init): Ditto.
* src/w32term.c (x_free_frame_resources): Ditto.
* src/xfns.c (x_window): Ditto.
* src/xterm.c (x_scroll_bar_create): Ditto.
* src/xterm.c (x_scroll_bar_set_handle): Ditto.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-545
Diffstat (limited to 'src/macfns.c')
| -rw-r--r-- | src/macfns.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/macfns.c b/src/macfns.c index 8e241205cd4..a6a5e99727a 100644 --- a/src/macfns.c +++ b/src/macfns.c | |||
| @@ -1363,11 +1363,11 @@ x_set_mouse_color (f, arg, oldval) | |||
| 1363 | Cursor cursor, nontext_cursor, mode_cursor, hand_cursor; | 1363 | Cursor cursor, nontext_cursor, mode_cursor, hand_cursor; |
| 1364 | Cursor hourglass_cursor, horizontal_drag_cursor; | 1364 | Cursor hourglass_cursor, horizontal_drag_cursor; |
| 1365 | unsigned long pixel = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); | 1365 | unsigned long pixel = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); |
| 1366 | unsigned long mask_color = x->background_pixel; | 1366 | unsigned long mask_color = FRAME_BACKGROUND_PIXEL (f); |
| 1367 | 1367 | ||
| 1368 | /* Don't let pointers be invisible. */ | 1368 | /* Don't let pointers be invisible. */ |
| 1369 | if (mask_color == pixel) | 1369 | if (mask_color == pixel) |
| 1370 | pixel = x->foreground_pixel; | 1370 | pixel = FRAME_FOREGROUND_PIXEL (f); |
| 1371 | 1371 | ||
| 1372 | f->output_data.mac->mouse_pixel = pixel; | 1372 | f->output_data.mac->mouse_pixel = pixel; |
| 1373 | 1373 | ||
| @@ -2269,8 +2269,8 @@ x_make_gc (f) | |||
| 2269 | = (XCreatePixmapFromBitmapData | 2269 | = (XCreatePixmapFromBitmapData |
| 2270 | (FRAME_X_DISPLAY (f), FRAME_X_DISPLAY_INFO (f)->root_window, | 2270 | (FRAME_X_DISPLAY (f), FRAME_X_DISPLAY_INFO (f)->root_window, |
| 2271 | gray_bits, gray_width, gray_height, | 2271 | gray_bits, gray_width, gray_height, |
| 2272 | f->output_data.x->foreground_pixel, | 2272 | FRAME_FOREGROUND_PIXEL (f), |
| 2273 | f->output_data.x->background_pixel, | 2273 | FRAME_BACKGROUND_PIXEL (f), |
| 2274 | DefaultDepth (FRAME_X_DISPLAY (f), FRAME_X_SCREEN_NUMBER (f)))); | 2274 | DefaultDepth (FRAME_X_DISPLAY (f), FRAME_X_SCREEN_NUMBER (f)))); |
| 2275 | #endif | 2275 | #endif |
| 2276 | 2276 | ||