diff options
| author | Karoly Lorentey | 2006-04-01 16:11:29 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2006-04-01 16:11:29 +0000 |
| commit | ce593f6e6b85e58206264cad983c796ce8dd41a2 (patch) | |
| tree | 3596abcaa0164629aec976947c1507924fd0e44b /src/widget.c | |
| parent | b97a79c4f5c17abca8cb66e52927d524c5e1ef62 (diff) | |
| download | emacs-ce593f6e6b85e58206264cad983c796ce8dd41a2.tar.gz emacs-ce593f6e6b85e58206264cad983c796ce8dd41a2.zip | |
Fix tooltip border color.
* src/xterm.h (x_output): Remove background_pixel and foreground_pixel
fields.
* src/widget.c (update_from_various_frame_slots): Use
FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
* src/xfns.c (x_set_foreground_color): Ditto.
* src/xfns.c (x_set_background_color): Ditto.
* src/xfns.c (x_set_mouse_color): Ditto.
* src/xfns.c (x_set_cursor_color): Ditto.
* src/xfns.c (x_make_gc): Ditto.
* src/xfns.c (Fx_create_frame): Ditto.
* src/xfns.c (x_create_tip_frame): Ditto.
* src/xfns.c (build_string): Ditto.
* src/xterm.c (XTflash): Ditto.
* src/xterm.c (x_free_frame_resources): Ditto.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-544
Diffstat (limited to 'src/widget.c')
| -rw-r--r-- | src/widget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget.c b/src/widget.c index 35bf5631b20..2e9913308d0 100644 --- a/src/widget.c +++ b/src/widget.c | |||
| @@ -659,10 +659,10 @@ update_from_various_frame_slots (ew) | |||
| 659 | struct x_output *x = f->output_data.x; | 659 | struct x_output *x = f->output_data.x; |
| 660 | ew->core.height = FRAME_PIXEL_HEIGHT (f) - x->menubar_height; | 660 | ew->core.height = FRAME_PIXEL_HEIGHT (f) - x->menubar_height; |
| 661 | ew->core.width = FRAME_PIXEL_WIDTH (f); | 661 | ew->core.width = FRAME_PIXEL_WIDTH (f); |
| 662 | ew->core.background_pixel = x->background_pixel; | 662 | ew->core.background_pixel = FRAME_BACKGROUND_PIXEL (f); |
| 663 | ew->emacs_frame.internal_border_width = f->internal_border_width; | 663 | ew->emacs_frame.internal_border_width = f->internal_border_width; |
| 664 | ew->emacs_frame.font = x->font; | 664 | ew->emacs_frame.font = x->font; |
| 665 | ew->emacs_frame.foreground_pixel = x->foreground_pixel; | 665 | ew->emacs_frame.foreground_pixel = FRAME_FOREGROUND_PIXEL (f); |
| 666 | ew->emacs_frame.cursor_color = x->cursor_pixel; | 666 | ew->emacs_frame.cursor_color = x->cursor_pixel; |
| 667 | ew->core.border_pixel = x->border_pixel; | 667 | ew->core.border_pixel = x->border_pixel; |
| 668 | } | 668 | } |