Mercurial > emacs
changeset 11013:f0fe22922005
(struct x_display_info): member kboard (formerly perdisplay) is now a pointer,
not an actual struct.
(get_perdisplay, get_perdisplay_macro): Deleted.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 15 Mar 1995 01:53:00 +0000 |
parents | 31d88266ed12 |
children | 634a98104921 |
files | src/xterm.h |
diffstat | 1 files changed, 3 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.h Wed Mar 15 01:51:46 1995 +0000 +++ b/src/xterm.h Wed Mar 15 01:53:00 1995 +0000 @@ -289,7 +289,9 @@ Atom Xatom_CLIPBOARD, Xatom_TIMESTAMP, Xatom_TEXT, Xatom_DELETE, Xatom_MULTIPLE, Xatom_INCR, Xatom_EMACS_TMP, Xatom_TARGETS, Xatom_NULL, Xatom_ATOM_PAIR; - PERDISPLAY perdisplay; +#ifdef MULTI_KBOARD + KBOARD *kboard; +#endif }; /* This is a chain of structures for all the X displays currently in use. */ @@ -305,16 +307,6 @@ extern struct x_display_info *x_display_info_for_name (); extern struct x_display_info *x_term_init (); - -#ifdef MULTI_PERDISPLAY -/* The perdisplay structure itself has to be accessible in files that don't - need to know about X. So we'll define get_perdisplay as a function to - retrieve that structure opaquely. But sources that include this header - will automatically get the macro version, and save a function call. */ - -#define get_perdisplay_macro(f) (&(f)->display.x->display_info->perdisplay) -#define get_perdisplay(f) get_perdisplay_macro (f) -#endif /* Each X frame object points to its own struct x_display object in the display.x field. The x_display structure contains all