comparison src/widget.c @ 83504:7aa43f830ce4

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
author Karoly Lorentey <lorentey@elte.hu>
date Sat, 01 Apr 2006 16:11:29 +0000
parents 3bd95f4f2941
children b8d9a391daf3
comparison
equal deleted inserted replaced
83503:ad1fbeffe3cb 83504:7aa43f830ce4
657 { 657 {
658 struct frame *f = ew->emacs_frame.frame; 658 struct frame *f = ew->emacs_frame.frame;
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 }
669 669
670 static void 670 static void