Mercurial > emacs
comparison src/xfns.c @ 83505:57e924639750
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
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sat, 01 Apr 2006 16:37:26 +0000 |
parents | 7aa43f830ce4 |
children | b2e7507b55c6 |
comparison
equal
deleted
inserted
replaced
83504:7aa43f830ce4 | 83505:57e924639750 |
---|---|
2678 { | 2678 { |
2679 XClassHint class_hints; | 2679 XClassHint class_hints; |
2680 XSetWindowAttributes attributes; | 2680 XSetWindowAttributes attributes; |
2681 unsigned long attribute_mask; | 2681 unsigned long attribute_mask; |
2682 | 2682 |
2683 attributes.background_pixel = f->output_data.x->background_pixel; | 2683 attributes.background_pixel = FRAME_BACKGROUND_PIXEL (f); |
2684 attributes.border_pixel = f->output_data.x->border_pixel; | 2684 attributes.border_pixel = f->output_data.x->border_pixel; |
2685 attributes.bit_gravity = StaticGravity; | 2685 attributes.bit_gravity = StaticGravity; |
2686 attributes.backing_store = NotUseful; | 2686 attributes.backing_store = NotUseful; |
2687 attributes.save_under = True; | 2687 attributes.save_under = True; |
2688 attributes.event_mask = STANDARD_EVENT_SET; | 2688 attributes.event_mask = STANDARD_EVENT_SET; |