From: Karl Heuer Date: Wed, 15 Mar 1995 01:53:00 +0000 (+0000) Subject: (struct x_display_info): member kboard (formerly perdisplay) is now a pointer, X-Git-Tag: emacs-19.34~4845 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6909e850d24b14db5f9107b5566087ada73be03b;p=emacs.git (struct x_display_info): member kboard (formerly perdisplay) is now a pointer, not an actual struct. (get_perdisplay, get_perdisplay_macro): Deleted. --- diff --git a/src/xterm.h b/src/xterm.h index d722e29137a..cf9784bca63 100644 --- a/src/xterm.h +++ b/src/xterm.h @@ -289,7 +289,9 @@ struct x_display_info 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_display (); 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